Declaration of the readkey() function, a blocking read for a key from the keyboard. More...

Go to the source code of this file.
Macros | |
| #define | __READKEY_H__ |
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. | |
Declaration of the readkey() function, a blocking read for a key from the keyboard.
Definition in file helpers/readkey.h.
| #define __READKEY_H__ |
Definition at line 8 of file helpers/readkey.h.
| 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().