francis@hslrswi.UUCP (Francis Demierre) (11/15/90)
Hi Netland, I'm using AIX 2.2 on an IBM PC RT and programming an application where I need to manipulate serial line signals. Namely, I'd like to turn the DCD pin on/off (Data Carrier Detect). I found in the bsd include (/usr/include/bsd/sys/ioctl.h) the BSD IOCTL commands and arguments to do this, i.e.: ioctl command: TIOCMBIS Set the line corresponding to 1 bits in mask TIOCMBIC Reset the line corresponding to 1 bits in mask ioctl arg: TIOCM_CAR or TIOCM_CD DCD line bit mask but they are here only for -DBSD_COMPILE_ONLY, to be able to compile/check the program and are not supported by AIX (see in the bsd/sys/ioctl.h file). I could not find how to perform the equivalent operations under AIX. Could any kind soul give me some help/pointer to the correct AIX way to do this ? Please E-mail any answer/comments directly to me. Thanks in advance, Francis. -- ------------------------------------------------------------------------------- Francis Demierre UUCP: ...!mcsun!chx400!hslrswi!francis Unix mail: francis@hslrswi.UUCP -------------------------------------------------------------------------------