Hi all,
  I want to get the character while I strike any key,I try to use getchar(),but it 
need to strike ENTER to end of string,can I get the value of key immediately before I 
strike ENTER.In DOS,I can use kbhit() to check if there is any key to be striked,but 
how can I do in linux?
  I have no idea how to get the key. Do you have any idea?

Thanks!

Michael

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to