◐ Shell
clean mode source ↗

std::_Exit - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Definido no cabeçalho

<cstdlib>

[[noreturn]] void _Exit( int exit_code );

(desde C++11)

Causas término do programa normal ocorrer sem completamente a limpeza dos recursos.

Original:

Causes normal program termination to occur without completely cleaning the resources.

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

Destruidores de variáveis ​​com automáticas, linha durações de armazenamento local e estático não são chamados. Funções passado para at_quick_exit() ou atexit() não são chamados. Se os recursos abertos, como os arquivos são fechados é a aplicação definida. Se exit_code é EXIT_FAILURE, uma aplicação definida de status, indicando' rescisão sem êxito, é retornado. Em outros casos, definida pela implementação valor de status é retornado.

Original:

Destructors of variables with automatic, thread local and static storage durations are not called. Functions passed to at_quick_exit() or atexit() are not called. Whether open resources such as files are closed is implementation defined. If exit_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.

Parâmetros

exit_code -

estado de saída do programa

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.

Valor de retorno

(Nenhum)

Original:

(none)

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

Exceções

Exemplo

Veja também

provoca finalização anormal do programa (sem limpeza)

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.


(função) [edit]

provoca término normal do programa com a limpeza

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.


(função) [edit]

Documentação C para _Exit