[PATCH 1/1] libc: Added implementations and prototypes for
Thu Jul 29 09:27:16 GMT 2021
On Jul 29 06:59, Matthew Joyce wrote:
> Hi Corinna,
> Thank you again for the feedback! I'll make the changes as you
> recommend. Two things to note:
> 1) Regarding the header guard, I'm also all ears! Joel was also
> concerned about this but ultimately recommended __GNU_VISIBLE for now,
> while there is still no version number. I'll stand by if there are any
> alternative suggestions on this.
In other mail.
> 2) "EXIT": As a beginner, obviously please take what I say with
> several grains of salt! My rationale for not including 0 / EXIT was
> line 61853 where it states "if signum is equal to 0, the behavior is
> unspecified", and the end of the RATIONALE section where it says "the
> behavior in this case has been made unspecified." I'd think if we
> added in EXIT / 0, we'd be going against those statements.
The problem is that we have prior art here. Solaris as well as Gnulib
are generating this value. Even if it's not part of the standard, it
makes sense to follow other, already existing implementations, to ease
the pain of porting.
More information about the Newlib