Pty ports and TIOCUCNTL mode
Chris Torek
chris at mimsy.UUCP
Wed Apr 27 13:05:25 AEST 1988
In article <1019 at sdcc7.ucsd.EDU> muller at sdcc7.ucsd.EDU (Keith Muller) writes:
>Several vendors support TIOCUCNTL, but do not define UIOCMD in ioctl.h which
>is why #define JBOOT _IO(u, 1) etc was suggested over UIOCMD, there is no
>"rightness" here.
Actually, there is; _IO is an internal macro and its first argument
might change, so UIOCCMD is right and _IO is wrong.
(If you do not believe _IO's first argument might change, think again.
It already did! UIOCCMD is now defined as _IO('u', n).)
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at mimsy.umd.edu Path: uunet!mimsy!chris
More information about the Comp.unix.wizards
mailing list