Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replacement of kbhit() in Unix

Status
Not open for further replies.

lnical

Programmer
Feb 5, 2001
1
CA
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
 
Perhaps you could describe what kbhit() does, I'm not certian...

Disclaimer:
Beware: Studies have shown that research causes cancer in lab rats.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top