Defined in rt_misc.h, the
__rt_raise() function raises a signal to indicate a runtime anomaly.
This function is not part of the C library standard, but the Arm® C library supports it as an extension.
is an integer that holds the signal number.
is an integer, string constant or variable that provides additional information about the circumstances that the signal was raised in, for some kinds of signal.
Redefine this function to replace the entire signal handling
mechanism for the library. The default implementation calls
Depending on the value returned from
- no return
The handler performed a long jump or restart and
__rt_raise()does not regain control.
The signal was handled and
The default library implementation calls
__raise()returns a nonzero return code