Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Linux: What Can You Epoll?. Parent comment
You won't. O_NONBLOCK cannot be used with regular files. That part of the manpage is discussing other non-socket file types.
Disk i/o via write(2) is always a blocking call. Always. 100% of the time, no exceptions.
There are no comments on this comment yet.
You won't. O_NONBLOCK cannot be used with regular files. That part of the manpage is discussing other non-socket file types.
Disk i/o via write(2) is always a blocking call. Always. 100% of the time, no exceptions.