What is the replacement for kbhit() in Unix? I've read the Unix Programming FAQ and it says that the solution involves select() or poll(). Reading the man pages for select() and poll(), I'm still at a loss.
What is the line of code that would replace kbhit()?
Thanks,
lnical
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.