From e2cfd90e5bdaa1e03a4555343ca39176c8cf839b Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 3 Jul 2014 08:17:14 +0200 Subject: [PATCH] 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 Signed-off-by: Michael Kerrisk --- man2/poll.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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