summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-07-03 08:17:14 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-07-03 08:17:14 +0200
commite2cfd90e5bdaa1e03a4555343ca39176c8cf839b (patch)
treec4c25e9b17e1a60484dd0d3836393afd6c24d490
parent5c4d5f9715cf0dacd5adba14c074d5481d24d894 (diff)
poll.2: The negate-fd-to-ignore technique does not work for file descriptor 0
See https://bugzilla.kernel.org/show_bug.cgi?id=79411 Reported-by: Nadav Har'El <nyh@math.technion.ac.il> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/poll.23
1 files changed, 2 insertions, 1 deletions
diff --git a/man2/poll.2 b/man2/poll.2
index ffd718c8d..390e7a9b7 100644
--- a/man2/poll.2
+++ b/man2/poll.2
@@ -83,7 +83,8 @@ file descriptor for a single
.BR poll ()
call: simply negate the
.I fd
-field.)
+field.
+Note, however, that this technique can't be used to ignore file descriptor 0.)
The field
.I events