The run-time environment performs default signal handling, unless you do one of the following for specific signals:
The default handling depends upon the signal that is being handled. For most signals, the default is to pass the signal to the next exception handler in the chain. Unless you have set up your own exception handler, the default exception handler receives the signal and performs the default action, which is to terminate the program and return an exit code. The exit code indicates:
The C signals supported by the IBM C and C++ Compilers run-time library, the source of the signals, and the default handling are documented along with the signal function, in the C Library Reference.
The signal constants are defined in the <signal.h> header file.
![]()
Signals
and Exceptions
Signal
and Exception Handling
![]()
OS/2 Default Exception
Handling
Windows Default Exception Handling