Namespaces
Variants

SIG_DFL, SIG_IGN

来自 zh.cppreference.net
 
 
 
 
定义于头文件 <csignal>
#define SIG_DFL /* implementation defined */
#define SIG_IGN /* implementation defined */

宏 SIG_DFL 与 SIG_IGN 展开为不等于任何函数地址的整数表达式。这些宏定义了用于 std::signal() 函数的信号处理策略。

常量 解释
SIG_DFL 默认信号处理
SIG_IGN 忽略信号

另请参阅

C 文档 关于 SIG_DFL , SIG_IGN