Path: utzoo!attcan!uunet!husc6!think!ames!oliveb!sun!gorodish!guy From: guy@gorodish.Sun.COM (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: Querying tty input with ioctl Message-ID: <61229@sun.uucp> Date: 25 Jul 88 17:49:00 GMT References: <11527@steinmetz.ge.com> <5740024@hpfcdc.HP.COM> Sender: news@sun.uucp Lines: 10 > > Or in SysV land- > > > > #include > > > > 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.