[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Proposal: new libc/libutil functions to map SIGXXXX <-> "XXXX"
Date: Fri, 28 Apr 2017 18:59:08 +0000 (UTC)
From: christos%astron.com@localhost (Christos Zoulas)
| Signal 0 is special -- unfortunately it does not have a name... Perhaps
| "0" <-> 0?
No, 0 is not a signal, special or otherwise - rather it can be used instead
of a signal (sometimes, like in kill(2)) to achieve a different result
(which is more co-incidence than planned I believe - it was not initially
documented to be possible). To count as a signal it needs to affect (or at
least be noticed, or noticeable, by) the affected process(es).
Giving it any kind of signal name would be a mistake.
And all this is why it is a good value to return to indicate "not a signal".
Main Index |
Thread Index |