Check input buffer in C

Amari M. Elammari 852028e at aucs.uucp
Sun May 27 00:49:58 AEST 1990



 Is there a UNIX C (sun4 C) function that checks if the input buffer 
 is empty???

What I want to do is to check the buffer, if there are some
characters in the buffer then read them; otherwise continue
with the next statement.


-- 
Amari Elammari.     
Acadia University, Wolfville, N.S., Canada
P.O.BOX 1236 Wolfville, N.S. Canada BOP 1X0
BITNET	852028e at Acadia		Internet 852028e at AcadiaU.CA



More information about the Comp.unix.questions mailing list