SIGTERM, SIGSEGV, SIGINT, SIGILL, SIGABRT, SIGFPE
2017-06-26 09:22
337 查看
http://zh.cppreference.com/w/c/program/SIG_types
上述每一个宏常量都展开成各不相同值的整数常量表达式,表示发送给程序的不同信号。
定义于头文件 <signal.h> | ||
#define SIGTERM /*implementation defined*/ | ||
#define SIGSEGV /*implementation defined*/ | ||
#define SIGINT /*implementation defined*/ | ||
#define SIGILL /*implementation defined*/ | ||
#define SIGABRT /*implementation defined*/ | ||
#define SIGFPE /*implementation defined*/ | ||
常量 | 解释 |
SIGTERM | 发送给程序的终止请求 |
SIGSEGV | 非法内存访问(段错误) |
SIGINT | 外部中断,通常为用户所发动 |
SIGILL | 非法程序映像,例如非法指令 |
SIGABRT | 异常终止条件,例如abort()所发动者 |
SIGFPE | 错误的算术运算,例如除以零 |
相关文章推荐
- SIGTERM, SIGSEGV, SIGINT, SIGILL, SIGABRT, SIGFPE
- sigint sigterm 有什么区别啊
- linux信号 SIGINT SIGTERM SIGKILL
- sigint\sigterm\sigkill
- SIGTERM SIGINT
- SIGINT、SIGQUIT、 SIGTERM、SIGSTOP区别
- SIGINT,SIGQUIT,SIGTERM等终止进程信号的区别
- sigint sigterm 的区别
- emerge --sync时出现rsync error:received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(503)
- Linux中与进程终止相关的信号SIGTERM,SIGKILL,SIGINT
- 程序捕获退出信号(SIGINT,SIGQUIT,SIGTERM)
- SIGTERM SIGINT
- sigint sigterm 的区别
- 0806编写一个程序,为进程打印SIGINT和SIGTERM信号的掩码
- sigterm sigint sigkill 区别
- sigterm sigint sigkill 区别 .
- 在qt程序中捕捉linux信号,sigint sighup sigterm
- Linux信号SIGTERM、SIGKILL、SIGINT和SIGQUIT的区别
- SIGTERM和SIGINT的含义
- 在qt程序中捕捉linux信号,sigint sighup sigterm