Keypressed in C

Amari M. Elammari 852028e at aucs.uucp
Sat May 26 04:23:18 AEST 1990



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 at Acadia		Internet 852028e at AcadiaU.CA



More information about the Comp.lang.c mailing list