ILE C/C++ Programmer's Guide
When a signal is received, the ILE C/C++ run-time environment handles the
signal in one of three ways:
- If the value of the function is SIG_IGN, then the signal is ignored
because the exception is handled by the run-time environment and no signal
handler is called. If the message that is mapped to the signal is an
*ESCAPE or *NOTIFY message, then it is placed in the job log.
- If the value of the function is a pointer to a function, then the function
that is addressed by the pointer is called.
- If the value of the function is SIG_DFL, then the system uses the value
registered for SIGALL (choosing one of the three ways described here).
If the value of the function for SIGALL is SIG_DFL then the exception is
percolated.
- Note:
- The value of the function is the function argument on the call to the
signal() function.
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.