exit
De cppreference.com
![]() | Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate. La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
Definido en el archivo de encabezado <stdlib.h> | ||
void exit(int exit_code ); | ||
Causas de terminación normal del programa de ocurrir .
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.
Varios pasos de limpieza se llevan a cabo:
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.
- funciones pasa a atexit se llaman .Original:functions passed to atexit are called.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - todos los flujos de C se sonrojó y se cierraOriginal: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. - archivos creados por tmpfile se eliminanOriginal:files created by tmpfile are removedThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - el control se devuelve al medio ambiente de acogida. Si
exit_code
es EXIT_SUCCESS, una aplicación definida por el estado, lo que indica la terminación con éxito se devuelve. Siexit_code
es EXIT_FAILURE, una aplicación definida por el estado, lo que indica la terminación sin éxito se devuelve. En otros casos la aplicación definida por el valor de estado se devuelve .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.
Contenido |
[editar]Parámetros
exit_code | - | salir del estado del 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
(Ninguno)
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.
[editar]Ejemplo
Esta sección está incompleta Razón: sin ejemplo |
[editar]Ver también
causa la terminación anormal del programa (sin limpiarlo) (función) | |
registra una función para ser llamada en exit() invocación 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. (función) | |
(C99) | produce la terminación normal del programa sin limpiar completamente 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. (función) |
Documentación de C++ para exit |