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.231
1 files changed, 14 insertions, 17 deletions
diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2
index 476f70f82..5efaada9d 100644
--- a/man2/epoll_wait.2
+++ b/man2/epoll_wait.2
@@ -6,7 +6,7 @@
.\"
.\" 2007-04-30: mtk, Added description of epoll_pwait()
.\"
-.TH epoll_wait 2 2023-02-05 "Linux man-pages 6.03"
+.TH epoll_wait 2 2023-05-03 "Linux man-pages 6.05.01"
.SH NAME
epoll_wait, epoll_pwait, epoll_pwait2 \-
wait for an I/O event on an epoll file descriptor
@@ -136,7 +136,7 @@ executing the following calls:
.in +4n
.EX
sigset_t origmask;
-
+\&
pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);
ready = epoll_wait(epfd, &events, maxevents, timeout);
pthread_sigmask(SIG_SETMASK, &origmask, NULL);
@@ -207,25 +207,22 @@ is not an
file descriptor, or
.I maxevents
is less than or equal to zero.
-.SH VERSIONS
+.SH STANDARDS
+Linux.
+.SH HISTORY
+.TP
.BR epoll_wait ()
-was added in Linux 2.6.
-.\" To be precise: kernel 2.5.44.
+Linux 2.6,
+.\" To be precise: Linux 2.5.44.
.\" The interface should be finalized by Linux 2.5.66.
-Library support is provided in glibc 2.3.2.
-.PP
+glibc 2.3.2.
+.TP
.BR epoll_pwait ()
-was added in Linux 2.6.19.
-Library support is provided in glibc 2.6.
-.PP
-.BR epoll_pwait2 ()
-was added in Linux 5.11.
-.SH STANDARDS
-.BR epoll_wait (),
-.BR epoll_pwait (),
-and
+Linux 2.6.19,
+glibc 2.6.
+.TP
.BR epoll_pwait2 ()
-are Linux-specific.
+Linux 5.11.
.SH NOTES
While one thread is blocked in a call to
.BR epoll_wait (),