accept.2: Mention epoll(7) alongside poll()/select()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-08-23 10:01:58 +12:00
parent 692b4bcca6
commit cb1bcdf28c
1 changed files with 6 additions and 4 deletions

View File

@ -124,9 +124,10 @@ or
.BR EWOULDBLOCK .
.PP
In order to be notified of incoming connections on a socket, you can use
.BR select (2)
.BR select (2),
.BR poll (2),
or
.BR poll (2).
.BR epoll (7).
A readable event will be delivered when a new connection is attempted and you
may then call
.BR accept ()
@ -335,9 +336,10 @@ file, and portable applications are probably wise to include it.
There may not always be a connection waiting after a
.B SIGIO
is delivered or
.BR select (2)
.BR select (2),
.BR poll (2),
or
.BR poll (2)
.BR epoll (7)
return a readability event because the connection might have been
removed by an asynchronous network error or another thread before
.BR accept ()