> 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?
http://docs.linux.cz/c-faq_comp.unix.programmer/faq.txt
Regards
Mads Andresen
****************************************
* Manox ApS
* Denmark
* Herluf Trolles Vej 10
* 5220 Odense SØ
* Tlf: 65 93 04 44
* Mobil: 26 87 65 03
* [EMAIL PROTECTED]
****************************************
-- [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/