Read a character from the keyboard.
char cgetc (void);
The function reads a character from the keyboard. If there is no character available,
cgetcwaits until the user presses a key. If the cursor is enabled by use of the
cursorfunction, a blinking cursor is displayed while waiting.
- If the system supports a keyboard buffer,
cgetcwill fetch a key from this buffer and wait only if the buffer is empty.
- See also