Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.75 KB

signal-constants.md

File metadata and controls

56 lines (45 loc) · 1.75 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
signal Constants | Microsoft Docs
11/04/2016
cpp-standard-libraries
article
SIGTERM
SIGFPE
SIGABRT
SIGILL
SIGINT
SIGSEGV
C++
SIGTERM constant
SIGABRT constant
SIGSEGV constant
SIGFPE constant
SIGINT constant
signal constants
SIGILL constant
a3b39281-dae7-4e44-8d68-e6a610c669dd
11
corob-msft
corob
ghogen

signal Constants

Syntax

#include <signal.h>  

Remarks

The sig argument must be one of the manifest constants listed below (defined in SIGNAL.H).

SIGABRT
Abnormal termination. The default action terminates the calling program with exit code 3.

SIGABRT_COMPAT
Same 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

signal
raise
Global Constants