summaryrefslogtreecommitdiffstats
path: root/man2/epoll_wait.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/epoll_wait.2')
-rw-r--r--man2/epoll_wait.226
1 files changed, 13 insertions, 13 deletions
diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2
index 3407785ec..05d9afcd6 100644
--- a/man2/epoll_wait.2
+++ b/man2/epoll_wait.2
@@ -31,7 +31,7 @@ const struct timespec *_Nullable " timeout ,
The
.BR epoll_wait ()
system call waits for events on the
-.BR epoll (7)
+.MR epoll 7
instance referred to by the file descriptor
.IR epfd .
The buffer pointed to by
@@ -84,7 +84,7 @@ to return immediately, even if no events are available.
The
.I struct epoll_event
is described in
-.BR epoll_event (3type).
+.MR epoll_event 3type .
.P
The
.I data
@@ -92,7 +92,7 @@ field of each returned
.I epoll_event
structure contains the same data as was specified
in the most recent call to
-.BR epoll_ctl (2)
+.MR epoll_ctl 2
.RB ( EPOLL_CTL_ADD ", " EPOLL_CTL_MOD )
for the corresponding open file descriptor.
.P
@@ -101,7 +101,7 @@ The
field is a bit mask that indicates the events that have occurred for the
corresponding open file description.
See
-.BR epoll_ctl (2)
+.MR epoll_ctl 2
for a list of the bits that may appear in this mask.
.\"
.SS epoll_pwait()
@@ -110,11 +110,11 @@ The relationship between
and
.BR epoll_pwait ()
is analogous to the relationship between
-.BR select (2)
+.MR select 2
and
-.BR pselect (2):
+.MR pselect 2 :
like
-.BR pselect (2),
+.MR pselect 2 ,
.BR epoll_pwait ()
allows an application to safely wait until either a file descriptor
becomes ready or until a signal is caught.
@@ -162,9 +162,9 @@ It takes an argument of type
.I timespec
to be able to specify nanosecond resolution timeout.
This argument functions the same as in
-.BR pselect (2)
+.MR pselect 2
and
-.BR ppoll (2).
+.MR ppoll 2 .
If
.I timeout
is NULL, then
@@ -198,7 +198,7 @@ The call was interrupted by a signal handler before either (1) any of the
requested events occurred or (2) the
.I timeout
expired; see
-.BR signal (7).
+.MR signal 7 .
.TP
.B EINVAL
.I epfd
@@ -283,6 +283,6 @@ is 4 and the kernel
value is 1000,
this means that timeouts greater than 35.79 minutes are treated as infinity.
.SH SEE ALSO
-.BR epoll_create (2),
-.BR epoll_ctl (2),
-.BR epoll (7)
+.MR epoll_create 2 ,
+.MR epoll_ctl 2 ,
+.MR epoll 7