Path: utzoo!attcan!uunet!cs.dal.ca!aucs!852028e From: 852028e@aucs.uucp (Amari M. Elammari) Newsgroups: comp.lang.c Subject: Keypressed in C Message-ID: <1990May25.182318.22048@aucs.uucp> Date: 25 May 90 18:23:18 GMT Reply-To: 852028e@aucs.UUCP (Amari M. Elammari) Organization: School of Computer Science, Acadia Univ., Nova Scotia Lines: 16 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