- SIGABRT
Infobox Computing signal
description = Abort signal fromabort
action = Abnormal termination of the processOnPOSIX -compliant platforms, SIGABRT is the signal sent bycomputer program s to abort the process. Insource code , SIGABRT is a symbolic constant defined in theheader file
. Symbolic signal names are used because signal numbers can vary across platforms.signal.h On some platforms such as
Linux andAIX , SIGIOT is a synonym for SIGABRT.Etymology
"SIG" is a common prefix for signal names. "ABRT" is an abbreviation for "abort". "IOT" is an abbreviation of "IOT trap", where "IOT" itself stands for "I/O transfer", an instruction on the historic
PDP-8 architecture.Usage
SIGABRT is sent by the process to itself when it calls the
abort
libc function, defined instdlib.h . The SIGABRT signal can be caught, but it cannot be blocked; if thesignal handler returns then all open streams are closed and flushed and the program terminates (dumping core if appropriate). This means that theabort
call never returns. Because of this characteristic, it is often used to signal fatal conditions in support libraries, situations where the current operation cannot be completed but the main program can perform cleanup before exiting. It is also used if an assertion fails.
Wikimedia Foundation. 2010.