[PATCH 0/1] Final Edits to sig2str/str2sig

Matt Joyce mfjoyce2004@gmail.com
Tue Aug 3 03:54:35 GMT 2021


Dear Newlib Maintainers,

As recommended on 2 Aug, I am submitting edits to the sig2str
implementation to:

1) use strlcpy and snprintf instead of strcpy and sprintf.
2) fix typos in the header.

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     | 297 +++++++++++++++++++++++++++++++
 3 files changed, 316 insertions(+), 2 deletions(-)
 create mode 100644 newlib/libc/signal/sig2str.c

-- 
2.31.1



More information about the Newlib mailing list