Espaços nominais
Variantes
Acções

std::exit

Da cppreference.com
< cpp‎ | utility‎ | program

 
 
Biblioteca de utilitários
Digite apoio (basic types, RTTI, type traits)
Gerenciamento de memória dinâmica
De tratamento de erros
Utilidades do programa
Variadic funções
Data e hora
Objetos de função
initializer_list(C++11)
bitset
hash(C++11)
Os operadores relacionais
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Pares e tuplas
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
Troque, avançar e avançar
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
Utilitários de apoio do programa
Término do programa
Original:
Program termination
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
abort
exit
quick_exit(C++11)
_Exit(C++11)
Comunicando com o meio ambiente
Original:
Communicating with the environment
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Sinais
Original:
Signals
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Tipos de sinais
Original:
Signal types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
SIGABRT
SIGFPE
SIGILL
SIGINT
SIGSEGV
SIGTERM
Não-locais saltos
Original:
Non-local jumps
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
setjmp
longjmp
Tipos
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
jmp_buf
 
Defined in header <cstdlib>
[[noreturn]] void exit( int exit_code );
(a partir do C++ 11)
             void exit( int exit_code );
(até C + 11)
Causas término do programa normal ocorrer.
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.
Várias etapas de limpeza são realizadas:
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.
  • destruidores de objetos com duração de armazenamento segmento local são chamados
    Original:
    destructors of objects with thread local duração de armazenamento are called
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • destruidores de objetos com duração de armazenamento estático são chamados
    Original:
    destructors of objects with static storage duration are called
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • funções passado para std::atexit são chamados. Se uma exceção tenta propagar fora de qualquer uma das funções, std::terminate é chamado
    Original:
    functions passed to std::atexit are called. If an exception tries to propagate out of any of the function, std::terminate is called
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • todos os fluxos de C são liberadas e fechada
    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.
  • ficheiros criados por std::tmpfile são removidos
    Original:
    files created by std::tmpfile are removed
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • o controlo retorna para o ambiente do hospedeiro. Se exit_code é EXIT_SUCCESS, uma aplicação definida de status, indicando termo bem sucedido é devolvido. Se exit_code é EXIT_FAILURE, uma aplicação definida de status, indicando rescisão sucesso é retornado. Em outros casos, definida pela implementação valor de status é retornado.
    Original:
    control is returned to the host environment. If exit_code is EXIT_SUCCESS, an implementation-defined status, indicating successful termination is returned. 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.
Destruidores de variáveis ​​com armazenamento durações automático não são chamados.
Original:
Destructors of variables with automatic armazenamento durações 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.

Índice

[editar] 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.

[editar] 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.

[editar] Exemplo

[editar] 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]
registra uma função a ser chamada no momento da invocação 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.

(função) [edit]
provoca término normal do programa completamente sem limpeza
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.

(função) [edit]