-   Linux - General (
-   -   Borland's kbhit() (

iceman47 10-27-2002 05:01 PM

Borland's kbhit()
Does anybody know if the Borland C funtion kbhit() (included in conio.h if I remeber correctly) is available with gcc?
I'd be happy with an alternative too if it isn't :D.

Mik 10-28-2002 02:46 AM

Usually you would check to see if there is any data present for stdin with a 'select' call. There should be many examples on the net of how to do this. But I'll see if I can find a simple example that I might have here.
You might want to direct these kind of questions to the programming section.

All times are GMT -5. The time now is 10:52 AM.