mirror of https://github.com/mkerrisk/man-pages
When an eventfd overflows, select() indicates the file as both
readable and writable (not as having an exceptional condition).
This commit is contained in:
parent
aa966d080f
commit
20e5fb78ea
|
@ -16,7 +16,7 @@
|
|||
.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
.\" MA 02111-1307 USA
|
||||
.\"
|
||||
.TH EVENTFD 2 2008-02-11 Linux "Linux Programmer's Manual"
|
||||
.TH EVENTFD 2 2008-08-19 Linux "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
eventfd \- create a file descriptor for event notification
|
||||
.SH SYNOPSIS
|
||||
|
@ -126,15 +126,14 @@ argument; the
|
|||
flag)
|
||||
if it is possible to write a value of at least "1" without blocking.
|
||||
.IP *
|
||||
The file descriptor indicates an exceptional condition
|
||||
(the
|
||||
If an overflow of the counter value was detected,
|
||||
then
|
||||
.BR select (2)
|
||||
.I exceptfds
|
||||
argument; the
|
||||
indicates the file descriptor as being both readable and writable, and
|
||||
.BR poll (2)
|
||||
returns a
|
||||
.B POLLERR
|
||||
flag)
|
||||
if an overflow of the counter value was detected.
|
||||
event.
|
||||
As noted above,
|
||||
.BR write (2)
|
||||
can never overflow the counter.
|
||||
|
|
Loading…
Reference in New Issue