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.