cause abnormal program termination

You're viewing an older version of this page (#3227). View the current version.

View versions (3)

NAME

<span class="Nm" id="abort">abort</span>

INTERFACE

#include <stdlib.h> void abort ( void )

DESCRIPTION

The abort function causes abnormal program termination to occur, unless the signal <span class="Dv">SIGABRT</span> is being caught and the signal handler does not return. &#92;n &#92;n Any open streams are flushed and closed.

IMPLEMENTATION NOTES

The abort function is thread-safe. It is unknown if it is async-cancel-safe.

RETURN VALUES

The abort function never returns.

SEE ALSO

reference:sigaction (2) , exit (3)

STANDARDS

The abort function conforms to The abort function also conforms to with the implementation specific details as noted above.