signal
constants
Syntax
#include <signal.h>
Remarks
The sig
argument must be one of the manifest constants listed below (defined in SIGNAL.H).
Constant | Description |
---|---|
SIGABRT |
Abnormal termination. The default action terminates the calling program with exit code 3. |
SIGABRT_COMPAT |
Same meaning as SIGABRT . For compatibility with other platforms. |
SIGFPE |
Floating-point error, such as overflow, division by zero, or invalid operation. The default action terminates the calling program. |
SIGILL |
Illegal instruction. The default action terminates the calling program. |
SIGINT |
CTRL+C interrupt. The default action terminates the calling program with exit code 3. |
SIGSEGV |
Illegal storage access. The default action terminates the calling program. |
SIGTERM |
Termination request sent to the program. The default action terminates the calling program with exit code 3. |
SIG_ERR |
A return type from a signal indicating an error has occurred. |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για