abort(3C) SDK R4.11 abort(3C)
NAME
abort - generate an abnormal termination signal
SYNOPSIS
#include <stdlib.h>
void abort (void);
DESCRIPTION
abort first closes all open files in standard I/O; then, if possible,
causes the signal SIGABRT to be sent to the calling process.
Considerations for Threads Programming
+---------+-----------------------------+
| | async- |
|function | reentrant cancel cancel |
| | point safe |
+---------+-----------------------------+
|abort | Y N N |
+---------+-----------------------------+
DIAGNOSTICS
If all of these conditions are met, a core dump is produced and the
shell writes an abort - core dumped message:
* SIGABRT is not caught.
* The current directory is writable.
* The euid and uid are the same.
* The RLIMIT_CORE resource limit is set to a non-zero value.
SEE ALSO
sh(1), exit(2), getrlimit(2), kill(2), signal(2), reentrant(3),
stdio(3S).
Licensed material--property of copyright holder(s)