Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!sri-unix!hplabs!hpcea!hpda!hper1!hpsmtc1!hpisod2!decot From: decot@hpisod2.UUCP Newsgroups: comp.lang.c Subject: Re: boolean function to tell if a key has been pressed Message-ID: <2550008@hpisod2.HP.COM> Date: Tue, 24-Mar-87 14:39:26 EST Article-I.D.: hpisod2.2550008 Posted: Tue Mar 24 14:39:26 1987 Date-Received: Sat, 28-Mar-87 11:39:50 EST References: <523@thumper.UUCP> Organization: Hewlett Packard, Cupertino Lines: 11 > As this points out, the answer is system dependent. In particular, > select() exists only on 4.2BSD and V8 derived systems. (I understand > System VII ... no, make that System V release 3 [cannot change a > standard! :-) ] for the Vax has something equivalent, but harder > to use.) Under 4.1BSD, one can use the FIONREAD ioctl. Under > System III one can fiddle with VTIME or something like that. Select(2) also exists in HP-UX, a SVID-conforming operating system. Dave Decot hpda!decot