SIGUNUSED

Alexander Best alexbestms at math.uni-muenster.de
Fri Nov 6 21:34:12 UTC 2009


some programmers tend to do the following in their apps to install a standard
handler for all signals (mostly SIG_IGN):

int counter;

for (counter = 1; counter < SIGUNUSED; counter++)
    signal(counter, SIG_IGN);

any objections if we also have SIGUNUSED in our signal.h? seems like a
reasonable addition. since the highest signal number (excluding
SIGRT[MIN|MAX]) is SIGTHR with 32 we could add

#define SIGUNUSED 33

alex.


More information about the freebsd-hackers mailing list