]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Added EPOLLRDHUP description.
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 1 Jul 2006 08:30:24 +0000 (08:30 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 1 Jul 2006 08:30:24 +0000 (08:30 +0000)
Added SEE ALSO referring to poll.2.

man2/epoll_ctl.2

index 6304801d023a9300f58256f742fa579ef2f72fa9..4da71fffd8dc472bf52767b47745a858d78d4dbf 100644 (file)
@@ -74,6 +74,12 @@ The associated file is available for
 .BR write (2)
 operations.
 .TP
+.B EPOLLRDHUP
+Stream socket peer closed connection, 
+or shut down writing half of connection.
+(This flag is especially useful for writing simple code to detect 
+peer shutdown when using Edge Triggered monitoring.)
+.TP
 .B EPOLLPRI
 There is urgent data available for
 .BR read (2)
@@ -219,5 +225,6 @@ when using
 .BR EPOLL_CTL_DEL .
 .SH "SEE ALSO"
 .BR epoll_create (2),
+.BR poll (2),
 .BR epoll_wait (2),
 .BR epoll (7)