Does Cygwin have str2sig/sig2str?

Joel Sherrill <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAF9ehCWLs08TMe4Ky-WYRCeBQwKTvp+pVsEK4e2evOgLDOt9dA@mail.gmail.com>
Hi

The next POSIX version is wrapping up and unless something changes will be
adding str2sig and sig2str. Does Cygwin have those?

I'm asking to see if we adapt the Cygwin version for general use or have to
write it from scratch.

The glibc and Illumos implementations are what you would expect. They just
use an array of { signal, string_name} and a lookup search.
Something similar would be OK for newlib.

Thanks.

--joel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.