[comp.lang.c] Keypressed in C

852028e@aucs.uucp (Amari M. Elammari) (05/26/90)

Is there a function in UNIX C similar to KEYPRESSED in Pascal??
i.e. Is there a 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@Acadia		Internet 852028e@AcadiaU.CA