exit — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
| Déclaré dans l'en-tête <stdlib.h> |
||
|
|
||
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.
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.
responsabilités ont été transférées à
atexitsont appelés .Original:
functions passed to
atexitare 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és
Original:
all C streams are flushed and closed
The 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
tmpfilesont supprimésOriginal:
files created by
tmpfileare 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_codeest EXIT_SUCCESS, une mise en œuvre définies par le statut, indiquant la fin réussie est retourné. Siexit_codeest 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. If
exit_codeis EXIT_SUCCESS, an implementation-defined status, indicating successful termination is returned. Ifexit_codeis 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.
Paramètres
| exit_code | - | quitter l'état du programme Original: exit status of the program The text has been machine-translated via Google Translate. |
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.
Exemple
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. (fonction) [edit] | |
enregistre une fonction qui sera appelée lors de son invocation exit()Original: The text has been machine-translated via Google Translate. (fonction) [edit] | |
(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. (fonction) [edit] |
C++ documentation for exit | |