Namespaces
Variants
Views
Actions

SIG_DFL, SIG_IGN

From cppreference.com
< c‎ | program
Revision as of 17:48, 2 November 2012 by P12bot (Talk | contribs)

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <signal.h>
</td>

<td></td> <td></td> <tr class="t-dcl ">

<td class="t-dcl-nopad">
#define SIG_DFL /*implementation defined*/
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
#define SIG_IGN /*implementation defined*/
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

The SIG_DFL and SIG_IGN macros expand into integral expressions that are not equal to an address of any function. The macros define signal handling strategies for signal() function.

Constant Explanation
SIG_DFL default signal handling
SIF_IGN signal is ignored

See also

C++ documentation for SIG_DFL, SIG_IGN