Implementation of the readkey() function, a blocking read for a key from the keyboard. More...
Go to the source code of this file.
Functions | |
int | readkey (void) |
Read a key from the keyboard, blocking if no key is pressed. Use the checkforkey() function to see if a key has been pressed. | |
Implementation of the readkey() function, a blocking read for a key from the keyboard.
Definition in file readkey.c.
int readkey | ( | void | ) |
Read a key from the keyboard, blocking if no key is pressed. Use the checkforkey() function to see if a key has been pressed.
Definition at line 14 of file readkey.c.
Referenced by Flyweight_Exercise().