In article <[email protected]>,
Robert Elz  <[email protected]> wrote:
>    Date:        Fri, 28 Apr 2017 15:31:10 +0000 (UTC)
>    From:        [email protected] (Christos Zoulas)
>    Message-ID:  <[email protected]>
>
>  | Fine, return NULL for no signal number / and -1 for no such signal name.
>
>I think 0 for no name is better, we know there is not (and cannot be) a
>signal 0, but -1 ?   Unlikely, but...   (and besides, people often assume
>that funcs that return -1 to indicate error also set errno, and this does not.)

Signal 0 is special -- unfortunately it does not have a name... Perhaps
"0" <-> 0?

christos

Reply via email to