Comment wrong in libc/include/sys/wait.h ?
Stefan Heinzmann
stefan_heinzmann@gmx.de
Thu May 28 14:16:00 GMT 2015
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?
Cheers
Stefan
More information about the Newlib
mailing list