SIG_DFL

SIG_DFL, SIG_IGN

Defined in header <csignal>
#define SIG_DFL /*implementation defined*/
#define SIG_IGN /*implementation defined*/

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 std::signal() function.

Constant Explanation
SIG_DFL default signal handling
SIG_IGN signal is ignored

See also

C documentation for SIG_DFL, SIG_IGN

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/utility/program/SIG_strategies

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部