HP-UX Reference (11i v2 04/09) - 5 Miscellaneous Topics (vol 9)
s
signal(5) signal(5)
For SIGFPE, code has the following values:
12 Overflow trap;
13 Conditional trap;
14 Assist exception trap;
22 Assist emulation trap.
Refer to the Series 800 processor documentation provided with your system for more detailed information
about the meaning of these errors.
The Instruction Address Offset Queue (program counter) is not advanced when a trap occurs on Series
800 systems. If a signal generated by a hardware trap is masked or has its signal action set to
SIG_IGN,
the program loops infinitely since the instruction causing the trap is re-executed, causing the trap again.
If the signal is received by a signal-catching function in the user program, the instruction that caused the
trap is re-executed upon return from the signal-catching function unless program flow is altered by the
signal-catching function. For example, the
longjmp() routine (see setjmp (3C)) can be called. Using
longjmp() ensures software portability across different hardware architectures.
AUTHOR
signal was developed by HP, AT&T, and the University of California, Berkeley.
SEE ALSO
kill(1), init(1M), bsdproc(3C), exit(2), kill(2), lseek(2), pause(2), sigaction(2), signal(2), sigvector(2),
wait(2), sigset(3C), abort(3C), setjmp(3C).
STANDARDS CONFORMANCE
<signal.h>: AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1, ANSI C
Section 5−−330 Hewlett-Packard Company − 4 − HP-UX 11i Version 2: September 2004