std::exit
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <cstdlib>
|
||
[[noreturn]] void exit( int exit_code ); |
(dal C++11) | |
void exit( int exit_code ); |
(fino al c++11) | |
Provoca terminazione normale programma a verificarsi.
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.
Diverse fasi di pulizia vengono eseguite:
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.
- distruttori di oggetti con stoccaggio durata locale di thread sono chiamatiOriginal:destructors of objects with thread local stoccaggio durata are calledThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - distruttori di oggetti con durata di conservazione statica sono chiamatiOriginal:destructors of objects with static storage duration are calledThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - funzioni passato a std::atexit sono chiamati. Se un'eccezione tenta di propagare su qualsiasi della funzione, std::terminate viene chiamatoOriginal:functions passed to std::atexit are called. If an exception tries to propagate out of any of the function, std::terminate is calledThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - tutti i flussi di C sono lavata e chiuseOriginal: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. - i file creati da std::tmpfile vengono rimossiOriginal:files created by std::tmpfile are removedThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - il controllo viene restituito l'ambiente host. Se
exit_code
è EXIT_SUCCESS, l'attuazione di un determinato status, che indica terminato con successo viene restituito. Seexit_code
è EXIT_FAILURE, l'attuazione di un determinato status, che indica terminazione successo viene restituito. In altri casi l'attuazione definito valore di stato viene restituito.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.
Distruttori di variabili con stoccaggio durate automatica non si chiamano.
Original:
Destructors of variables with automatic stoccaggio durate are not called.
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.
Indice |
[modifica] Parametri
exit_code | - | uscita di stato del programma
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. |
[modifica] Valore di ritorno
(Nessuno)
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.
[modifica] Esempio
This section is incomplete Reason: no example |
[modifica] Vedi anche
causa chiusura anomala del programma (senza pulizia) 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. (funzione) | |
registra una funzione di essere chiamato invocazione 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. (funzione) | |
(C++11) |
causa terminazione normale programma senza completamente pulizia 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. (funzione) |
C documentation for exit
|