25 FD_SET (STDIN_FILENO, &rdfs);
27 select(STDIN_FILENO+1, &rdfs, NULL, NULL, &tv);
28 return FD_ISSET(STDIN_FILENO, &rdfs);
bool checkforkey(void)
Determine if a key has been pressed.
Declaration of the checkforkey() function for determining if a key has been pressed.