lkml.org 
[lkml]   [2004]   [Aug]   [31]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 31 Aug 2004 09:22:59 +0200 (MEST)
From"Michael Kerrisk" <>
SubjectRe: [PATCH] waitid system call
Is anyone writing a manual page for this sys call?  If not, I will.

> The AIX results someone posted suggested that it does not clear siginfo_t
> fields on WNOHANG early returns.  

Yes.

> I still maintain that a POSIX application
> must not assume that waitid will clear any fields.  

Despite the fact that I've pushed in the direction of changing 
this, I do agree: a portable application must handle weird 
behaviours on AIX and HP-UX.  (And I would document this in 
the man page.)

> However, since the
> majority do, I see no harm in making Linux do so as well.

And I do think this is the right way to go.  Perhaps one day
the other implementations will do the Right Thing, or POSIX 
will tighten its spec to require the behavior currently 
implemented by the majority -- best then that Linux doesn't 
imitate the "broken" implementations.

Cheers,

Michael

-- 
Superg
\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2008