Hacker News new | ask | show | jobs
by neilc 5999 days ago
If you want it not to block, you should set the O_NONBLOCK flag using fcntl().

Certainly, I had assumed that the OP was talking about poll over non-blocking pipes.