C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_kbhit
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _kbhit function checks the console for a recent keystroke. If
     the function returns a nonzero value, a keystroke is waiting in
     the buffer. The program can then call _getch or _getche to get the
     keystroke.
 
     Return Value
 
     The _kbhit function returns a nonzero value if a key has been
     pressed. Otherwise, it returns 0.
                                    -♦-