Scanning stdin with no pause

Joe Guthridge jwg at galbp.UUCP
Sat Dec 29 03:49:21 AEST 1984


>>     I am working with V7 UN*X.  I need a way to scan the standard input
>> stream for a character, but not wait.
>
>This is not supported by 7th Edition UNIX.  You need to add something
>to your kernel to do this directly; the Rand Corp. empty() call has
>been distributed by USENIX a long time ago, and more recent approaches
>include VTIME,VMIN in AT&T UNIX Systems III & V and select() in 4.2BSD.
>
Xenix has a system call rdchk() to do this.

-- 
					Joe Guthridge
					..!akgua!galbp!jwg
			NOTE NEW MACHINE NAME    ^^^^^



More information about the Comp.unix.wizards mailing list