SIG_DFL, SIG_IGN
From cppreference.net
C++
Utilities library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Program support utilities
| Program termination | |||||||||||||||||||||
|
|||||||||||||||||||||
| Unreachable control flow | |||||||||||||||||||||
|
(C++23)
|
|||||||||||||||||||||
| Communicating with the environment | |||||||||||||||||||||
| Signals | |||||||||||||||||||||
|
|||||||||||||||||||||
| Signal types | |||||||||||||||||||||
| Non-local jumps | |||||||||||||||||||||
| Types | |||||||||||||||||||||
|
定义于头文件
<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
|