Defined in rt_misc.h, the
__default_signal_handler() function handles a raised signal. The default action is to exit.
This function is not part of the C library standard, but the Arm® C library supports it as an extension.
The default signal handler returns a nonzero value to indicate that the caller has to arrange for the program to exit. You can replace the default signal handler by defining:
The interface is the same as
but this function is only called after the C signal handling mechanism
has declined to process the signal.
A complete list of the defined signals is in signal.h.