Datasheet

The C and C++ Libraries
ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-55
void __default_signal_handler(int signal, int argument)
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
. See Table 4-10 for those signals
that are used by the libraries.
Note
The signals used by the libraries might change in future releases of the product. See also
Table 4-18 on page 4-94 for signals handled by the
signal()
function.
Table 4-10 Signals used by the C and C++ libraries
Signal
number
Signal name Description
1 SIGABRT This signal is only used if
abort()
or
assert()
are called by your
application
2 SIGFPE Used to signal any arithmetic exception, for example, division by
zero. Used by hard and soft floating point and by integer division.
7 SIGSTAK Stack overflow was detected (but only for code compiled with
software stack checking ON).
8 SIGRTRED Runtime redirection error.
9 SIGRTMEM Runtime memory error.
12 SIGPVFN A pure virtual function was called from C++.
13 SIGCPPL Exception from C++ library.