Querying tty input with ioctl

Guy Harris guy at gorodish.Sun.COM
Tue Jul 26 03:49:00 AEST 1988


> > Or in SysV land-
> > 
> > #include <fcntl.h>
> > 
> > int fcntl_flags = fcntl(0, F_GETFL, 0);		/* get fcntl flags */
>                              ^^^^^^^
>                              O_GETFL
			       ^^^^^^^
			       F_GETFL, *NOT* "O_GETFL"!  There is no "O_GETFL"
			       in any UNIX version I know of.



More information about the Comp.unix.questions mailing list