aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-05-20 09:49:09 +1200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-05-20 09:49:09 +1200
commit2a1ba6ae7f470f49ff3d7c27d169ba679e76ab6d (patch)
tree654d4dc4e4e9eb9521897dac0f22f1843efebd14 /man2
parent65dfda3dd16da5cff236c4a84532ec40d7533578 (diff)
downloadman-pages-2a1ba6ae7f470f49ff3d7c27d169ba679e76ab6d.tar.gz
select.2: Relocate sentence about the fd_set value-result arguments to BUGS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/select.213
1 files changed, 7 insertions, 6 deletions
diff --git a/man2/select.2 b/man2/select.2
index 0452c99344..b778c48cce 100644
--- a/man2/select.2
+++ b/man2/select.2
@@ -108,12 +108,6 @@ to indicate which file descriptors are currently "ready".
Thus, if using
.BR select ()
within a loop, the sets \fImust be reinitialized\fP before each call.
-The implementation of the
-.I fd_set
-arguments as value-result arguments is a design error that is avoided in
-.BR poll (2)
-and
-.BR epoll (7).
.PP
The contents of a file descriptor set can be manipulated
using the following macros:
@@ -655,6 +649,13 @@ or
.BR epoll (7)
instead.
.PP
+The implementation of the
+.I fd_set
+arguments as value-result arguments is a design error that is avoided in
+.BR poll (2)
+and
+.BR epoll (7).
+.PP
According to POSIX,
.BR select ()
should check all specified file descriptors in the three file descriptor sets,