Section: Linux Programmer's Manual (3)
abort - cause abnormal process termination
function first unblocks the
signal, and then raises that signal for the calling process
This results in the abnormal termination of the process unless the
signal is caught and the signal handler does not return
signal is ignored, or caught by a handler that returns, the
function will still terminate the process.
It does this by restoring the default disposition for
and then raising the signal for a second time.
function never returns.
For an explanation of the terms used in this section, see
Up until glibc 2.26,
function caused process termination,
all open streams were closed and flushed (as with
However, in some cases this could result in deadlocks and data corruption.
Therefore, starting with glibc 2.27,
terminates the process without flushing streams.
POSIX.1 permits either possible behavior, saying that
"may include an attempt to effect fclose() on all open streams".
SVr4, POSIX.1-2001, POSIX.1-2008, 4.3BSD, C89, C99.
This page is part of release 5.04 of the Linux
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at