Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.4 KB

signal-action-constants.md

File metadata and controls

48 lines (39 loc) · 1.4 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 Action Constants | Microsoft Docs
11/04/2016
cpp-standard-libraries
article
SIG_IGN
SIG_DFL
C++
signal action constants
SIG_IGN constant
SIG_DFL constant
c3cb4f15-d39e-4d9d-84f9-0d33e3eb5993
8
corob-msft
corob
ghogen

signal Action Constants

The action taken when the interrupt signal is received depends on the value of func.

Syntax

#include <signal.h>  

Remarks

The func argument must be either a function address or one of the manifest constants listed below and defined in SIGNAL.H.

SIG_DFL
Uses system-default response. If the calling program uses stream I/O, buffers created by the run-time library are not flushed.

SIG_IGN
Ignores interrupt signal. This value should never be given for SIGFPE, since the floating-point state of the process is left undefined.

SIG_SGE
Indicates an error occurred in the signal.

SIG_ACK
Indicates an acknowledgement was received.

SIG_ERR
A return type from a signal indicating an error has occurred.

See Also

signal
Global Constants