mirror of https://github.com/mkerrisk/man-pages
epoll_ctl.2: EPOLLERR is also set on write end of a pipe when the read end is closed
Reported-by: Nicolas Biscos <nicolas.biscos+man7@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b3da9249db
commit
4258cf6d03
|
@ -121,6 +121,8 @@ operations.
|
|||
.TP
|
||||
.B EPOLLERR
|
||||
Error condition happened on the associated file descriptor.
|
||||
This event is also reported for the write end of a pipe when the read end
|
||||
has been closed.
|
||||
.BR epoll_wait (2)
|
||||
will always wait for this event; it is not necessary to set it in
|
||||
.IR events .
|
||||
|
|
Loading…
Reference in New Issue