qc.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
────────────────────────────────────────────────────────────────────────────
 
     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.
                                    -♦-