TIOCNOTTY under SCO System V/386
Jeffrey M. Stockett
stockett at jeanluc.UUCP
Fri Jun 21 04:45:43 AEST 1991
I'm trying to port over some code from a BSD machine to SCO System V/386,
and I have run into a problem with the following lines:
if ((s = open("/dev/tty", O_RDWR)) >= 0) {
ioctl(s, TIOCNOTTY, 0);
close(s);
}
I have grepped for TIOCNOTTY in /usr/include/*.h and /usr/include/sys/*.h,
and it is not to be found. Does anyone know why it is missing, and
what would be an appropriate substitute for it under SCO System V/386?
(This is the only line that causes a problem. If I define it to some
bogus value, the rest of the code compiles fine.)
Thanks,
Jeffrey M. Stockett
Internet: stockett at titan.tsd.arlut.utexas.edu
UUCP: ..cs.utexas.edu!ut-emx!jeanluc!stockett
More information about the Comp.unix.sysv386
mailing list