non-blocking read

Kenneth Almquist ka at hou3c.UUCP
Tue Feb 7 05:52:44 AEST 1984


Various versions of UNIX provide a FIONREAD ioctl call which checks
for pending input and/or an O_NDELAY flag which can be set by fcntl
to provide nonblocking reads.  Check your manual to see whether you
have either of these.
				Kenneth Almquist



More information about the Comp.unix mailing list