27 FD_SET(STDIN_FILENO, &rdfs);
29 select(STDIN_FILENO + 1, &rdfs, NULL, NULL, &tv);
30 return FD_ISSET(STDIN_FILENO, &rdfs);
Declaration of the checkforkey() function for determining if a key has been pressed.
The namespace containing all the "helper" functions in the C++ code.
bool checkforkey()
Determine if a key has been pressed.