12-23-2008
# lsdev -l <childdevice> -F parent
5 More Discussions You Might Find Interesting
1. Programming
Hi , Could you tell me if I am right
1. Using fork(), pipe(), execlp() and dup() (see man 2 dup), write a C program executing the command ps -j in a parent process, displaying the result in a child process.
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>... (7 Replies)
Discussion started by: remid1985
7 Replies
2. Shell Programming and Scripting
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to... (1 Reply)
Discussion started by: yahoo!
1 Replies
3. AIX
I need upgrade firmware for the device of p570, when I go to IBM FIX download website, there are a lot of device of p570 listed. How can I know what device I have on my p570? (4 Replies)
Discussion started by: rainbow_bean
4 Replies
4. Red Hat
Hi All,
Could anyone please help to resolve the below problem.
I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error.
I spent 2 days for the above and go through with several suggestion found by googling. But no luck.
... (0 Replies)
Discussion started by: Tanmoy
0 Replies
5. HP-UX
Hi,
Unable to make tape backup, please help.
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00
* Creating local directories for configuration files and archive.
======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery.
(Mon... (4 Replies)
Discussion started by: anuragr
4 Replies
LEARN ABOUT X11R4
xsetdevicemode
XSetDeviceMode(3) X FUNCTIONS XSetDeviceMode(3)
NAME
XSetDeviceMode - change the mode of a device
SYNTAX
XSetDeviceMode(display, device, mode)
Display *display;
XDevice *device;
int _mode;
ARGUMENTS
display Specifies the connection to the X server.
device Specifies the device whose mode is to be changed.
mode Specifies the mode. You can pass Absolute , or Relative.
DESCRIPTION
The XSetDeviceMode request changes the mode of an input device that is capable of reporting either absolute positional information or rela-
tive motion information. Not all input devices are capable of reporting motion data, and not all are capable of changing modes from Abso-
lute to Relative.
XSetDeviceMode can generate a BadDevice or BadMode error.
DIAGNOSTICS
BadDevice An invalid device was specified. The specified device does not exist or has not been opened by this client via XOpenInputDe-
vice. This error may also occur if some other client has caused the specified device to become the X keyboard or X pointer
device via the XChangeKeyboardDevice or XChangePointerDevice requests.
BadMatch This error may occur if an XSetDeviceMode request is made specifying a device that has no valuators and reports no axes of
motion.
BadMode An invalid mode was specified. This error will also be returned if the specified device is not capable of supporting the XSet-
DeviceMode request.
SEE ALSO
Programming with Xlib
X Version 11 libXi 1.2.1 XSetDeviceMode(3)