首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

SIGABRT

Defined in header <csignal>

#define SIGTERM /*implementation defined*/

#define SIGSEGV /*implementation defined*/

#define SIGINT /*implementation defined*/

#define SIGILL /*implementation defined*/

#define SIGABRT /*implementation defined*/

#define SIGFPE /*implementation defined*/

上述宏常量中的每一个扩展为具有不同值的整数常量表达式,表示发送给程序的不同信号。

Constant

Explanation

SIGTERM

termination request, sent to the program

SIGSEGV

invalid memory access (segmentation fault)

SIGINT

external interrupt, usually initiated by the user

SIGILL

invalid program image, such as invalid instruction

SIGABRT

abnormal termination condition, as is e.g. initiated by std::abort()

SIGFPE

erroneous arithmetic operation such as divide by zero

注记

附加信号名称由POSIX指定...

另见

signal

sets a signal handler for particular signal (function)

raise

runs the signal handler for particular signal (function)

C信号类型文档

代码语言:txt
复制
 © cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券