abort(3C) abort(3C)
NAME
abort - generate an abnormal termination signal
SYNOPSIS
#include <stdlib.h>
void abort(void);
DESCRIPTION
The abort() function causes abnormal process termination to occur,
unless the signal SIGABRT is being caught and the signal handler does
not return. The abnormal termination processing includes at least the
effect of fclose() on all open streams and message catalog descrip-
tors, and the default actions defined for SIGABRT. The SIGABRT signal
is sent to the calling process as if by means of the raise() function
with the argument SIGABRT.
The status made available to wait() or waitpid() by abort() will be
that of a process terminated by the SIGABRT signal. The abort() func-
tion will override blocking or ignoring the SIGABRT signal.
RESULT
If SIGABRT is neither caught nor ignored, and the current directory is
writable, a core dump is produced and the message abort() - core dumped
is written by the shell [see sh(1)].
SEE ALSO
sh(1), exit(2), kill(2), signal(2), stdio(3S).
Page 1 Reliant UNIX 5.44 Printed 11/98