C Input Question?

David Sherman dave at lsuc.UUCP
Tue Mar 19 22:06:43 AEST 1985


In article <247 at faron.UUCP> meister at faron.UUCP (Philip W. Servita) writes:
||>[text cut for brevity. Scott wants non-blocking I/O, that is "read if
||>data, but don't wait for data.]
||
||   ioctl(0,FIONREAD,&charwaiting);

That's fine for BSD (which was the system the questioner wanted it for).
Anyone have an easy way of doing this for v7? I'm willing to do a
limited amount of kernel hacking.

Dave Sherman
The Law Society of Upper Canada
-- 
{utzoo pesnta nrcaero utcs hcr}!lsuc!dave
{allegra decvax ihnp4 linus}!utcsri!lsuc!dave



More information about the Comp.lang.c mailing list