[PATCH 0/1] V3: Implementation of sig2str/str2sig
Matt Joyce
mfjoyce2004@gmail.com
Sat Jul 31 13:22:04 GMT 2021
Dear Newlib Maintainers,
Per the discussion from 29 July, I would like to submit this
updated version of sig2str() and str2sig().
1) Changed __GNU_VISIBLE to __MISC_VISIBLE in sys/signal.h
2) Added new header for man page in str2sig.c
3) Added additional checks with strtoul in str2sig()
4) Added "EXIT" / 0 to the signal array
Thank you very much for your time!
Sincerely,
Matt
Matt Joyce (1):
libc: Added implementation for sig2str/str2sig.
newlib/libc/include/sys/signal.h | 17 ++
newlib/libc/signal/Makefile.am | 4 +-
newlib/libc/signal/sig2str.c | 298 +++++++++++++++++++++++++++++++
3 files changed, 317 insertions(+), 2 deletions(-)
create mode 100644 newlib/libc/signal/sig2str.c
--
2.31.1
More information about the Newlib
mailing list