abort
Purpose
Generates an IOT fault to terminate the current process.
Library
Standard C Library (libc.a)
Syntax
int abort ( )
Description
The abort subroutine causes a SIGIOT signal to be sent to
the current process. This usually terminates the process
and produces a memory dump.
It is possible for the abort subroutine to return control
if SIGIOT is caught or ignored. In this case, abort
returns the value returned by the kill system call.
If SIGIOT is neither caught nor ignored, and if the
current directory is writable, then the abort subroutine
produces a memory dump in a file named core in the
current directory. The shell then displays the message:
abort - core dumped
Related Information
In this book: "exit, _exit," "kill," and "signal."
The adb command in AIX Operating System Commands Refer-
ence.