std::abort
![]() |
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. |
Definido no cabeçalho <cstdlib>
|
||
[[noreturn]] void abort(); |
(desde C++11) | |
void abort(); |
(até C++11) | |
Causes abnormal program termination unless SIGABRT is being caught by a signal handler passed to signal and the handler does not return.
Destructors of variables with automatic, thread local and static armazenamento durações are not called. Functions, passed to atexit()
are also not called. Whether open resources such as files are closed is implementation defined. Implementation defined status is returned to the host environment that indicates unsuccessful execution.
Índice |
[editar] Parâmetros
You can help to correct and verify the translation. Click here for instructions.
[editar] Valor de retorno
You can help to correct and verify the translation. Click here for instructions.
[editar] Exceções
[editar] Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar] Veja também
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) | |
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) | |
(C++11) |
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) |
Documentação C para abort
|