Namespaces
Variants
Views
Actions

abort

From cppreference.com
< c‎ | program
Revision as of 03:00, 23 August 2013 by The Phantom (Talk | contribs)

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

Parameters

(none)

Return value

(none)

Example

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]