◐ Shell
clean mode source ↗

exit – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<stdlib.h>

void exit( int exit_code );

Verursacht normalen Beendigung des Programms auftreten .

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.

Mehrere Bereinigung Schritte durchgeführt werden:

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.

  • Funktionen übergeben atexit genannt werden .

    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.

  • Alle C-Streams werden gespült und verschlossen

    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.

  • Dateien durch tmpfile erstellt werden entfernt

    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.

  • Steuerung an den Host-Umgebung zurückgeführt. Wenn exit_code ist EXIT_SUCCESS wird eine Implementierung definiert Status, was auf eine erfolgreiche Beendigung zurückgegeben. Wenn exit_code ist EXIT_FAILURE wird eine Implementierung definiert Status, die eine nicht erfolgreiche Beendigung zurückgegeben. In anderen Fällen Implementierung definierten Zustand zurückgegeben wird .

    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.

Parameter

exit_code -

Exit-Status des Programms

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.

Rückgabewert

(None)

Original:

(none)

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

Beispiel

Siehe auch

verursacht abnormale Beendigung des Programms (ohne Reinigung)

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.


(Funktion) [edit]

registriert eine Funktion auf

exit()

Aufruf aufgerufen werden

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.


(Funktion) [edit]

verursacht normale Beendigung des Programms, ohne sie komplett aufräumen

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.


(Funktion) [edit]