[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sig2str and str2sig use in C++
From: |
Paul Eggert |
Subject: |
Re: sig2str and str2sig use in C++ |
Date: |
Sun, 02 Jun 2013 11:57:44 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
On 06/01/2013 08:14 PM, Daniel J Sebald wrote:
> Please consider placing extern "C" around the sig2str and str2sig
> declarations inside sig2str.h similar to the attached diff/changeset. We're
> looking at using the sig2str routine in Octave and removing some code from
> that project that is similar to what sig2str but not up-to-date with all the
> Unix SIG definitions that might exist.
Thanks, done.
> I would also like you to consider the issue of duplicate signal definitions
> (i.e., different SIGxxxx using the same number such as SIGCHLD and SIGCLD).
> Right now, sig2str will return only one string associated with the signal
> number (first appearance) even though internally the structure numname[]
> contains a complete list. If someone wants to know all definitions, then
> sig2str doesn't really indicate that. What do people think? Should there be
> a routine that provides a complete listing?
I suppose it wouldn't hurt...
- sig2str and str2sig use in C++, Daniel J Sebald, 2013/06/01
- Re: sig2str and str2sig use in C++,
Paul Eggert <=
- Re: sig2str and str2sig use in C++, Daniel J Sebald, 2013/06/03
- Re: sig2str and str2sig use in C++, Paul Eggert, 2013/06/03
- Re: sig2str and str2sig use in C++, Daniel J Sebald, 2013/06/03
- Re: sig2str and str2sig use in C++, Thien-Thi Nguyen, 2013/06/04
- Re: sig2str and str2sig use in C++, Daniel J Sebald, 2013/06/04
- Re: sig2str and str2sig use in C++, Thien-Thi Nguyen, 2013/06/05
- Re: sig2str and str2sig use in C++, Daniel J Sebald, 2013/06/05
- Re: sig2str and str2sig use in C++, Paul Eggert, 2013/06/10
- Re: sig2str and str2sig use in C++, Daniel J Sebald, 2013/06/10
- Re: sig2str and str2sig use in C++, Daniel J Sebald, 2013/06/10