mirror of https://github.com/mkerrisk/man-pages
epoll_wait.2: Clarify semantics of returned 'data' field
The returned 'data' is the 'data' most recently set via epoll_ctl(). Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
1b564a4bbc
commit
991c24c881
|
@ -103,9 +103,11 @@ struct epoll_event {
|
|||
|
||||
The
|
||||
.I data
|
||||
field of each returned structure contains the same data the user set via
|
||||
field of each returned structure contains the same data as was specified
|
||||
in the most recent call to
|
||||
.BR epoll_ctl (2)
|
||||
.RB ( EPOLL_CTL_ADD ", " EPOLL_CTL_MOD ).
|
||||
.RB ( EPOLL_CTL_ADD ", " EPOLL_CTL_MOD )
|
||||
for the corresponding open file description.
|
||||
The
|
||||
.I events
|
||||
field contains the returned event bit field.
|
||||
|
|
Loading…
Reference in New Issue