wait.2: Added FIXME

This commit is contained in:
Michael Kerrisk 2009-01-13 17:46:39 +13:00
parent 01c0d450f9
commit 47f442b232
1 changed files with 4 additions and 1 deletions

View File

@ -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.