Date: Fri, 06 Nov 2009 22:33:57 +0100 (CET) From: Alexander Best <alexbestms@math.uni-muenster.de> To: <freebsd-hackers@FreeBSD.org> Subject: SIGUNUSED Message-ID: <permail-20091106213357f0889e84000012ed-a_best01@message-id.uni-muenster.de>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-20091106213357f0889e84000012ed-a_best01>