Path: utzoo!mnetor!uunet!husc6!purdue!umd5!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: Pty ports and TIOCUCNTL mode Message-ID: <11241@mimsy.UUCP> Date: 27 Apr 88 03:05:25 GMT References: <576@modular.UUCP> <1013@sdcc7.ucsd.EDU> <1077@mcgill-vision.UUCP> <1019@sdcc7.ucsd.EDU> Distribution: comp Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 13 In article <1019@sdcc7.ucsd.EDU> muller@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@mimsy.umd.edu Path: uunet!mimsy!chris