aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-05-09 23:39:22 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-05-10 13:05:42 +1200
commit099b33fbff51d8796e5dfcd6766b34eb19f147a3 (patch)
tree2239a8b342c6055c3df7efa5a1ab271d795f7564 /man2
parent2ce1caae3212b12f794cd61d65d4f3d39a370cd9 (diff)
downloadman-pages-099b33fbff51d8796e5dfcd6766b34eb19f147a3.tar.gz
epoll_wait.2: Move subsection to NOTES from BUGS
'C library/kernel differences' was added to BUGS incorrectly. Fix it Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/epoll_wait.224
1 files changed, 12 insertions, 12 deletions
diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2
index f9b5749df1..69c79d6ecc 100644
--- a/man2/epoll_wait.2
+++ b/man2/epoll_wait.2
@@ -285,18 +285,6 @@ instance whose interest list is currently empty
or removed from the interest in another thread).
The call will block until some file descriptor is later added to the
interest list (in another thread) and that file descriptor becomes ready.
-.SH BUGS
-In kernels before 2.6.37, a
-.I timeout
-value larger than approximately
-.I LONG_MAX / HZ
-milliseconds is treated as \-1 (i.e., infinity).
-Thus, for example, on a system where
-.I sizeof(long)
-is 4 and the kernel
-.I HZ
-value is 1000,
-this means that timeouts greater than 35.79 minutes are treated as infinity.
.SS C library/kernel differences
The raw
.BR epoll_pwait ()
@@ -312,6 +300,18 @@ The glibc
wrapper function specifies this argument as a fixed value
(equal to
.IR sizeof(sigset_t) ).
+.SH BUGS
+In kernels before 2.6.37, a
+.I timeout
+value larger than approximately
+.I LONG_MAX / HZ
+milliseconds is treated as \-1 (i.e., infinity).
+Thus, for example, on a system where
+.I sizeof(long)
+is 4 and the kernel
+.I HZ
+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),