std::abort
De cppreference.com
Déclaré dans l'en-tête <cstdlib>
|
||
[[noreturn]] void abort(); |
(depuis C++11) | |
void abort(); |
(avant 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 stockage durées 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.
Sommaire |
[modifier] Paramètres
(Aucun)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Retourne la valeur
(Aucun)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Exceptions
[modifier] Exemple
This section is incomplete Reason: no example |
[modifier] Voir aussi
provoque l'arrêt du programme normal avec le nettoyage 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. (fonction) | |
enregistre une fonction qui sera appelée lors de son invocation exit() 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. (fonction) | |
(C++11) |
provoque l'arrêt du programme normal sans complètement nettoyer 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. (fonction) |
C documentation for abort
|