Espacios de nombres
Variantes
Acciones

exit

De cppreference.com
< c‎ | program

 
 
Servicios públicos de apoyo a programas
Programa terminación
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)
La comunicación con el medio 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.
Señales
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 señal
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
No locales 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 <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.
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.
  • 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 cierra
    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.
  • archivos creados por tmpfile se eliminan
    Original:
    files created by 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.
  • 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. Si exit_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. 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.

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.

[editar] Ejemplo

[editar] Ver también

produce la terminación anormal del programa (sin limpiar)
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.

(función) [edit]
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) [edit]
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) [edit]