aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-07-30 13:24:12 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-07-30 13:26:40 +0200
commit13ed138b675005f9dbc672f24180dfe59c198e6f (patch)
tree1c4507089d4e9c567bb9a10b1f6bfc0f575842c8
parentc5359783b2afe160978250905a0bf06e5668f460 (diff)
downloadman-pages-13ed138b675005f9dbc672f24180dfe59c198e6f.tar.gz
io_getevents.2: Clarify details of return value for timeout-expired case
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/io_getevents.29
1 files changed, 7 insertions, 2 deletions
diff --git a/man2/io_getevents.2 b/man2/io_getevents.2
index e8e945a653..e3ccf1e0e5 100644
--- a/man2/io_getevents.2
+++ b/man2/io_getevents.2
@@ -51,8 +51,13 @@ events have been obtained.
.SH RETURN VALUE
On success,
.BR io_getevents ()
-returns the number of events read: 0 if no events are
-available, or less than \fImin_nr\fP if the \fItimeout\fP has elapsed.
+returns the number of events read.
+This may be 0, or a value less than
+.IR min_nr ,
+if the
+.I timeout
+expired.
+
For the failure return, see NOTES.
.SH ERRORS
.TP