io_getevents.2: Clarify details of return value for timeout-expired case

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-07-30 13:24:12 +02:00
parent c5359783b2
commit 13ed138b67
1 changed files with 7 additions and 2 deletions

View File

@ -51,8 +51,13 @@ events have been obtained.
.SH RETURN VALUE .SH RETURN VALUE
On success, On success,
.BR io_getevents () .BR io_getevents ()
returns the number of events read: 0 if no events are returns the number of events read.
available, or less than \fImin_nr\fP if the \fItimeout\fP has elapsed. This may be 0, or a value less than
.IR min_nr ,
if the
.I timeout
expired.
For the failure return, see NOTES. For the failure return, see NOTES.
.SH ERRORS .SH ERRORS
.TP .TP