Hacker News new | ask | show | jobs
by caf 5630 days ago
poll() is slightly better than select(), because you only have to iterate over the file descriptors that were passed, rather than from 0 to nfds.
1 comments

It doesn't hurt that its interface is far more pleasant to use than select's, either.