mirror of https://github.com/mkerrisk/man-pages
accept.2: Mention epoll(7) alongside poll()/select()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
692b4bcca6
commit
cb1bcdf28c
|
@ -124,9 +124,10 @@ or
|
||||||
.BR EWOULDBLOCK .
|
.BR EWOULDBLOCK .
|
||||||
.PP
|
.PP
|
||||||
In order to be notified of incoming connections on a socket, you can use
|
In order to be notified of incoming connections on a socket, you can use
|
||||||
.BR select (2)
|
.BR select (2),
|
||||||
|
.BR poll (2),
|
||||||
or
|
or
|
||||||
.BR poll (2).
|
.BR epoll (7).
|
||||||
A readable event will be delivered when a new connection is attempted and you
|
A readable event will be delivered when a new connection is attempted and you
|
||||||
may then call
|
may then call
|
||||||
.BR accept ()
|
.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
|
There may not always be a connection waiting after a
|
||||||
.B SIGIO
|
.B SIGIO
|
||||||
is delivered or
|
is delivered or
|
||||||
.BR select (2)
|
.BR select (2),
|
||||||
|
.BR poll (2),
|
||||||
or
|
or
|
||||||
.BR poll (2)
|
.BR epoll (7)
|
||||||
return a readability event because the connection might have been
|
return a readability event because the connection might have been
|
||||||
removed by an asynchronous network error or another thread before
|
removed by an asynchronous network error or another thread before
|
||||||
.BR accept ()
|
.BR accept ()
|
||||||
|
|
Loading…
Reference in New Issue