up | Inhaltsverzeichniss | Kommentar

Manual page for ABORT(3)

abort - generate a fault

SYNOPSIS

#include <stdlib.h>

void abort(void);

DESCRIPTION

Abort executes an instruction which is illegal in user mode. This generates a SIGABRT signal that normally terminates the process with a core dump, which may be used for debugging.

The abort() function flushes standard I/O buffers before process termination.

SEE ALSO

sigvec(2), exit(2)

DIAGNOSTICS

Usually ``Illegal instruction - core dumped'' from the shell.

BUGS

The BSD implementation of abort doesn't flush standard I/O buffers. Use fflush.3s before calling abort.


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97