How the ILE C/C++ Runtime Environment Handles Signals

When a signal is received, the Integrated Language Environment C/C++ runtime 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 runtime 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.