<csignal>
.
The "CPP Signal Handler"
clears the generated signals. It provides an alternative solution to the problem or terminates the entire program. Signal | Description |
---|---|
SIGFPE | Error in mathematical calculations |
SIGABRT | Terminates the program abnormally |
SIGINT | Occurrence of interaction signal |
SIGILL | Implies instruction given is illegal |
SIGTERM | Request terminated |
SIGSEGV | The storage accessed is invalid |
sig
to the current executing program. If none of the function handlers defines signal to handle the raised signal, the function never throws exceptions.