Go to the first, previous, next, last section, table of contents.


_conio_kbhit

Syntax

#include <conio.h>

int _conio_kbhit(void);

Description

Determines whether or not a character is waiting at the keyboard. If there is an ungetch'd character, this function returns true. Note that if you include conio.h, the section kbhit function is redefined to be this function instead.

Return Value

Nonzero if a key is waiting, else zero.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.