__default_signal_handler()

Defined in rt_misc.h, this function handles a raised signal. The default action is to print an error message and exit.

This function is not part of the C library standard, but the ARM C library supports it as an extension.

Show/hideSyntax

int __default_signal_handler(int signal, int type);

Show/hideUsage

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:

int __default_signal_handler(int signal, int type);

The interface is the same as __raise(), 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.

Note

The signals used by the libraries might change in future releases of the product.

Show/hideSee also

Concepts
Reference

ARM C and C++ Libraries and Floating-Point Support User Guide:

Copyright © 2014 ARM. All rights reserved.ARM DUI 0809A
Non-ConfidentialID031214