Datasheet
The C and C++ Libraries
4-94 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
Signal function
The signals listed in Table 4-18 are supported by the
signal()
function. See also
Table 4-10 on page 4-55 for signals used by the C and C++ libraries.
A signal number greater than
SIGUSR2
can be passed through
__raise()
, and caught by
the default signal handler, but it cannot be caught by a handler registered using
signal()
.
Table 4-18 Signal function signals
Signal Number Description Additional argument
SIGABRT 1 Abort None
SIGFPE 2 Arithmetic exception A set of bits from
{FE_EX_INEXACT,
FE_EX_UNDERFLOW,
FE_EX_OVERFLOW,
FE_EX_DIVBYZERO,
FE_EX_INVALID,
DIVBYZERO}
SIGILL 3 Illegal instruction None
SIGINT 4 Attention request from user None
SIGSEGV 5 Bad memory access None
SIGTERM 6 Termination request None
SIGSTAK 7 Stack overflow None
SIGRTRED 8 Redirection failed on a
runtime library
input/output stream
Name of file or device
being re-opened to redirect
a standard stream
SIGRTMEM 9 Out of heap space Size of failed request
SIGUSR1 10 User-defined User-defined
SIGUSR2 11 User-defined User-defined
SIGPVFN 12 A pure virtual function was
called from C++
-
SIGCPPL 13 Exception from C++ -
reserved 14-31 Reserved Reserved
other > 31 User-defined User-defined