public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/1] V3: Implementation of sig2str/str2sig
@ 2021-07-31 13:22 Matt Joyce
  2021-07-31 13:22 ` [PATCH 1/1] libc: Added implementation for sig2str/str2sig Matt Joyce
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Joyce @ 2021-07-31 13:22 UTC (permalink / raw)
  To: newlib; +Cc: Matt Joyce

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-03  3:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-31 13:22 [PATCH 0/1] V3: Implementation of sig2str/str2sig Matt Joyce
2021-07-31 13:22 ` [PATCH 1/1] libc: Added implementation for sig2str/str2sig Matt Joyce
2021-08-01 17:03   ` Joel Sherrill
2021-08-02  9:42   ` Corinna Vinschen
2021-08-02 11:48   ` Corinna Vinschen
2021-08-03  3:57     ` Matthew Joyce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).