3 ms·
On Mac OS X (and probably other systems), the current signal mechanism does not uninstall the handling function after a signal fires. Be aware that this is oft
by thwarted 17y ago
On Mac OS X (and probably other systems), the current signal mechanism does not uninstall the handling function after a signal fires.
Be aware that this is often a difference in signal(2) vs sigaction(2), and even those often have slightly different implementations. Note the SA_RESETHAND flag to sigaction, and the section "Portability" in signal(2) in Linux's man pages.