Forum Discussion
Altera_Forum
Honored Contributor
19 years agoYou can use select().
Look at "man select". There is a example with timeout. Or, if you don't need timeout, just a blocked read() will do.You can use select().
Look at "man select". There is a example with timeout. Or, if you don't need timeout, just a blocked read() will do.