From 04706fd7e2240569232aefee441689cb40b7802d Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 1 Jul 2006 08:30:24 +0000 Subject: [PATCH] Added EPOLLRDHUP description. Added SEE ALSO referring to poll.2. --- man2/epoll_ctl.2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/man2/epoll_ctl.2 b/man2/epoll_ctl.2 index 6304801d0..4da71fffd 100644 --- a/man2/epoll_ctl.2 +++ b/man2/epoll_ctl.2 @@ -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)