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:
Michael Kerrisk 2017-05-20 21:02:00 +02:00
parent 1b564a4bbc
commit 991c24c881
1 changed files with 4 additions and 2 deletions

View File

@ -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.