OpenBSD manual page server

Manual Page Search Parameters

ABORT(3) Library Functions Manual ABORT(3)

abortcause abnormal program termination

#include <stdlib.h>

void
abort(void);

The () function causes abnormal program termination to occur, unless the signal SIGABRT is being caught and the signal handler does not return.

Some implementations may flush output streams before terminating. This implementation does not.

The abort() function never returns.

sigaction(2), exit(3)

The abort() function conforms to IEEE Std 1003.1-1990 (“POSIX.1”).

The abort() function first appeared in Version 5 AT&T UNIX.

Historically, previous standards required abort() to flush and close output streams, but this conflicted with the requirement that abort() be async signal safe. As a result, the flushing requirement was dropped.

May 14, 2014 OpenBSD-7.5