exit
De cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Defined in header <stdlib.h>
|
||
void exit( int exit_code ); |
||
Provoque l'arrêt du programme normal de se produire .
Original:
Causes normal program termination to occur.
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.
Plusieurs étapes de nettoyage sont effectuées:
Original:
Several cleanup steps are performed:
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.
- responsabilités ont été transférées à atexit sont appelés .Original:functions passed to atexit are called.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - tous les flux de C sont vidés et fermésOriginal:all C streams are flushed and closedThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - fichiers créés par tmpfile sont supprimésOriginal:files created by tmpfile are removedThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - le contrôle est renvoyé à l'environnement hôte. Si
exit_code
est EXIT_SUCCESS, une mise en œuvre définies par le statut, indiquant la fin réussie est retourné. Siexit_code
est EXIT_FAILURE, une mise en œuvre définies par le statut, en indiquant la résiliation échec est retourné. Dans d'autres cas définis par l'implémentation valeur d'état est retourné .Original:control is returned to the host environment. Ifexit_code
is EXIT_SUCCESS, an implementation-defined status, indicating successful termination is returned. Ifexit_code
is EXIT_FAILURE, an implementation-defined status, indicating unsuccessful termination is returned. In other cases implementation-defined status value is returned.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Sommaire |
[modifier] Paramètres
exit_code | - | quitter l'état du programme
Original: exit status of the program The text has been machine-translated via Google Translate. 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] Exemple
This section is incomplete Reason: no example |
[modifier] Voir aussi
provoque la terminaison anormale du programme (sans nettoyage) Original: causes abnormal program termination (without 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) | |
(C99) |
provoque l'arrêt du programme normal sans complètement nettoyage 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 exit
|