From 47f442b232e0acb06704bcb8a7fd60d669bcb6b7 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 13 Jan 2009 17:46:39 +1300 Subject: [PATCH] wait.2: Added FIXME --- man2/wait.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man2/wait.2 b/man2/wait.2 index 40f2182c0..830f8f749 100644 --- a/man2/wait.2 +++ b/man2/wait.2 @@ -359,7 +359,10 @@ was specified and no child(ren) specified by .I id has yet changed state; on error, \-1 is returned. - +.\" FIXME: As reported by Vegard Nossum, if infop is NULL, then waitid() +.\" returns the PID of the child. Either this is a bug, or it is intended +.\" behavior that needs to be documented. See my Jan 2009 LKML mail +.\" "waitid() return value strangeness when infop is NULL". Each of these calls sets .I errno to an appropriate value in the case of an error.