September 1998
Intermediate to advanced
848 pages
20h 13m
English
A signal is a condition that can be reported during program execution. It is represented by a positive integer. The raise() function sends, or raises, a signal, and the signal() function sets the response to a particular signal.
The standard provides the macros listed in Table F.8 to represent possible signals; an implementation can add further values. They can be used as arguments to raise() and signal().
| Macro | Description |
|---|---|
| SIGABRT | Abnormal termination, such as initiated by a call to abort(). |
| SIGFPE | Erroneous arithmetic operation. |
| SIGILL | Invalid function image (such as illegal instruction) detected. |
| SIGINT | Interactive attention signal received (such as a DOS interrupt). |
| SIGSEGV | Invalid access to storage. ... |
Read now
Unlock full access