The abort function

Name

abort -- 

Synopsis

#include <stdlib.h>

void abort ( void);

Description

The abort function causes abnormal termination to occur unless the signal SIGABRT is being caught and the signal handler does not return. Whether open output streams are flushed or open streams are closed or temporary files removed is implementation-defined. An implementation-defined form of the status unsuccessful termination is returned to the host environment by means of the function call raise(SIGABRT).

Returns

The abort function cannot return to its caller.

Implementation Notes

The abort function calls raise(SIGABRT) and does not return.

See Also

The raise function