◐ Shell
clean mode source ↗

std::abort – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<cstdlib>

[[noreturn]] void abort();

(seit C++11)

             void abort();

(bis C + +11)

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

Destructors of variables with automatic, thread local and static Speicher Dauern are not called. Functions, passed to atexit() are also 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.

Parameter

(None)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

(None)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ausnahmen

Beispiel

Siehe auch

verursacht normale Beendigung des Programms mit dem Aufräumen

Original:

causes normal program termination with cleaning up

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

registriert eine Funktion auf

exit()

Aufruf aufgerufen werden

Original:

registers a function to be called on

exit()

invocation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

verursacht normale Beendigung des Programms, ohne sie komplett aufräumen

Original:

causes normal program termination without completely cleaning up

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktion) [edit]

C documentation for abort