Guardian C Library Calls Reference Manual
signal
3-166 128833—Guardian TNS C Library Calls Reference Manual
Reference to Library Calls
•
The ANSI defined signals SIGFPE, SIGILL, and SIGSEGV correspond to the
following operating system traps:
•
The Tandem defined signals that follow are Tandem C specific signals and directly
correspond to a particular operating system trap.
•
SIGSTK
The SIGSTK signal is equivalent to the STACK OVERFLOW trap. This signal
can never be returned from because the signal handler is placed at a fixed point
on the stack and if the stack has overflowed then the handler is sure to have
overwritten what was on the stack. A stack dump that is done by the SIG_DFL
handler might not be correct because the information on the stack might have
been overwritten.
•
SIGTIMEOUT
This signal corresponds to the operating system trap PROCESS LOOP-TIMER
TIMEOUT.
•
SIGMEMMGR
The SIGMEMMGR signal corresponds to the operating system trap MEMORY
MANAGER DISK READ ERROR.
•
SIGNOMEM
The SIGNOMEM signal corresponds to the operating system trap NO
MEMORY AVAILABLE.
•
SIGMEMERR
The SIGMEMERR signal corresponds to the operating system trap
UNCORRECTABLE MEMORY ERROR.
•
SIGLIMIT
The SIGLIMIT signal is a special signal. This signal occurs when the limit of
the operating system is exceeded.
For more information on these Tandem defined signals, refer to the Guardian
Procedure Calls Reference Manual and the Guardian Programmer’s Guide.
SIGFPE
Arithmetic overflow
SIGILL
Illegal instruction
SIGSEGV
Illegal address reference