[PATCH 1/1] libc: Added implementations and prototypes for

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Wed Jul 28 15:25:59 GMT 2021

On 2021-07-28 03:11, Corinna Vinschen wrote:
> Hi Matt,
> thanks for this v2.
> On Jul 24 10:37, Matt Joyce wrote:
>> Added implementations for sig2str() and str2sig() in libc/signal in order
>> to improve POSIX compliance. Added function prototypes to sys/signal.h.
>> Added Makefile.am entries to build the new file.
>> ---
>> [...]
>> +#if __GNU_VISIBLE
> I think this needs discussion.  The sig2str/str2sig API has not been
> provided yet by GLibC.  Using __GNU_VISIBLE in this context looks wrong.
> What we need, in fact, is a __POSIX_VISIBLE guard, but here's the
> problem: As far as I can see, the Issue 8 draft does not yet define a
> version number.
> If anybody has better information or a good idea how to guard this new
> API in the meantime, I'm all ears.

Current values are:


and anticipated release date is 2022 from FAQ


	Q8. Where is the schedule for draft development?

so could use:

__POSIX_VISIBLE >= 202202 /* FIXME when POSIX Issue 8 released */

Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

More information about the Newlib mailing list