[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

one user space progamming problem



one keyboard input problem:

my user space program wants to do two things:
E1. read data from one fifo and display it;
E2. Check if there is input from keyboard, if there is then handle it, otherwise do nothing.

E1 should always be in execution, while E2 is event driven (when I input something it should be capable of detecting and handling.)

how to implement this with C language? Is there any C lib function which checks if there is input from keyboard or not?




Reply to: