From: Matt Joyce <mfjoyce2004@gmail.com>
To: newlib@sourceware.org
Cc: Matt Joyce <mfjoyce2004@gmail.com>
Subject: [PATCH 0/1] V3: Implementation of sig2str/str2sig
Date: Sat, 31 Jul 2021 15:22:04 +0200 [thread overview]
Message-ID: <20210731132205.536278-1-mfjoyce2004@gmail.com> (raw)
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
next reply other threads:[~2021-07-31 13:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-31 13:22 Matt Joyce [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210731132205.536278-1-mfjoyce2004@gmail.com \
--to=mfjoyce2004@gmail.com \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).