Namespaces
Variants
Views
Actions

abort

From cppreference.com
Defined in header <stdlib.h>
void abort();

Causes abnormal program termination unless SIGABRT is being caught by a signal handler passed to signal and the handler does not return.

Functions, passed to atexit() are not called. Whether open resources such as files are closed is implementation defined. Implementation defined status is returned to the host environment that indicates unsuccessful execution.

Contents

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Example

[edit] See also

causes normal program termination with cleaning up
(function) [edit]
registers a function to be called on exit() invocation
(function) [edit]
causes normal program termination without completely cleaning up
(function) [edit]