Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site lsuc.UUCP Path: utzoo!lsuc!dave From: dave@lsuc.UUCP (David Sherman) Newsgroups: net.lang.c Subject: Re: C Input Question? Message-ID: <522@lsuc.UUCP> Date: Tue, 19-Mar-85 07:06:43 EST Article-I.D.: lsuc.522 Posted: Tue Mar 19 07:06:43 1985 Date-Received: Tue, 19-Mar-85 07:54:42 EST References: <1556@ritcv.UUCP> <155@cci-bdc.UUCP> <247@faron.UUCP> Reply-To: dave@lsuc.UUCP (David Sherman) Distribution: net Organization: Law Society of Upper Canada, Toronto Lines: 15 Summary: how to do FIONREAD for v7? In article <247@faron.UUCP> meister@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