aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-01-07 10:07:26 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-07 14:29:14 +0100
commit2ae5c63aed4d63fdc0a8912e05fc2c7f21c49309 (patch)
treea5aa26276ee7cb4d7580676e7f58822268234772
parenta084d8168c701a4549bf61978c8ac21804c5e3f5 (diff)
downloadman-pages-2ae5c63aed4d63fdc0a8912e05fc2c7f21c49309.tar.gz
epoll_wait.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/epoll_wait.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2
index 8ade432979..1d1f2c3f37 100644
--- a/man2/epoll_wait.2
+++ b/man2/epoll_wait.2
@@ -171,13 +171,13 @@ argument may be specified as NULL, in which case
is equivalent to
.BR epoll_wait ().
.SH RETURN VALUE
-When successful,
+On success,
.BR epoll_wait ()
returns the number of file descriptors ready for the requested I/O, or zero
if no file descriptor became ready during the requested
.I timeout
milliseconds.
-When an error occurs,
+On failure,
.BR epoll_wait ()
returns \-1 and
.I errno