]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
epoll_ctl.2: EPOLLERR is also set on write end of a pipe when the read end is closed
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 29 Mar 2017 06:42:28 +0000 (08:42 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 31 Mar 2017 04:54:22 +0000 (06:54 +0200)
Reported-by: Nicolas Biscos <nicolas.biscos+man7@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/epoll_ctl.2

index 265a253b525496654d72fb7e812799d3661f28ad..1685670fe34ccea1c237b697ca0cb34d6a9603c8 100644 (file)
@@ -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 .