ABORT(3C-SVR3) RISC/os Reference Manual ABORT(3C-SVR3)
NAME
abort - generate an IOT fault
SYNOPSIS
#include <bsd/sys/types.h>
int abort ( )
DESCRIPTION
abort does the work of exit(2), but instead of just exiting,
abort causes SIGABRT to be sent to the calling process. If
SIGABRT is neither caught nor ignored, all stdio(3S) streams
are flushed prior to the signal being sent, and a core dump
results.
abort returns the value of the kill(2) system call.
SEE ALSO
exit(2), kill(2), signal(2).
DIAGNOSTICS
If SIGABRT is neither caught nor ignored, and the current
directory is writable, a core dump is produced and the mes-
sage ``abort - core dumped'' is written by the shell.
Printed 11/19/92 Page 1