[PATCH 0/1] V3: Implementation of sig2str/str2sig
Matt Joyce <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
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