Comment wrong in libc/include/sys/wait.h ?

Corinna Vinschen
Thu May 28 17:07:00 GMT 2015

On May 28 14:22, Stefan Heinzmann wrote:
> Hi all,
> there's a comment in libc/include/sys/wait.h describing the format of a
> status. According to this comment, there's 2 bytes of info and 2 bytes of
> code in a status. The following macros, however, seem to work on the
> assumption that info and code are a single byte each.
> Do you agree that there's an inconsistency? Can I assume that the macros are
> right and the comment is wrong?

The comment is wrong.  I fixed that in the repo.


Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the Newlib mailing list