get character without waiting

nkkwan at crocus.uwaterloo.ca nkkwan at crocus.uwaterloo.ca
Wed Jun 12 10:10:56 AEST 1991


How can I check whether there is character waiting in standard input or not? 
What I want to do is something like..
   
If there is a character, then I read it. But if not, I can do something else.



More information about the Comp.unix.programmer mailing list