abort(3) — Subroutines
NAME
abort − Generates a software signal to end the current process
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <stdlib.h>
int abort ( void );
DESCRIPTION
The abort() function sends a SIGABRT signal to the current process. This terminates the process and produces a memory dump, unless the signal is caught and the signal handler does not return.
If the SIGABRT signal is neither caught nor ignored, and if the current directory is writable, the system produces a memory dump in the core file in the current directory and prints an error message.
If the call to the abort() function terminates the process, the abort() will have the effect of the fclose() function on every open stream. The abort() function then terminates the process with the same result as the _exit() function, except that the status made available to the wait() or waitpid() function by abort() will be that of a process terminated by the SIGABRT signal. If the call to abort() terminates the process, all open message catalog descriptors will also be closed.
NOTES
The abort() function is supported for multi-threaded applications.
AES Support Level:
Full use
RELATED INFORMATION
Functions: exit(2), kill(2), sigaction(2)