Skip to content
Snippets Groups Projects
Commit a5a3ab4c authored by rswindell's avatar rswindell
Browse files

kbhit() returns 0 if select call fails.

Changed use of 0 constant to STDIN_FILENO (defined unistd.h).
Moved some unnecessary global variables to locals in kbhit().
parent 9b3f46a5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment