poll.2: Document semantics of passing zero in 'events' field

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-04-16 00:03:04 +12:00
parent 096ca08af4
commit b857fda584
1 changed files with 8 additions and 1 deletions

View File

@ -87,7 +87,14 @@ field.)
The field
.I events
is an input parameter, a bit mask specifying the events the application
is interested in.
is interested in for the file descriptor
.IR fd .
If this field is specified as zero,
then all events are ignored for
.IR fd
and
.I revents
returns zero.
The field
.I revents