- Function
Read a character from the keyboard.
- Header
- Declaration
char cgetc (void);- Description
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 thecursorfunction, a blinking cursor is displayed while waiting.- Limits
- If the system supports a keyboard buffer,
cgetcwill fetch a key from this buffer and wait only if the buffer is empty.- Availability
cc65
- See also
- Example
None.