Namensräume
Varianten
Aktionen

std::atexit

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

 
 
 
Das Programm unterstützt Versorgungsunternehmen
Beendigung des Programms
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)
Die Kommunikation mit der Umwelt
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.
Signale
Original:
Signals
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Signal-Typen
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
Nicht-lokale Sprünge
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
Types
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>
extern "C"   int atexit( void (*func)() );
extern "C++" int atexit( void (*func)() );
Registriert die Funktion, auf die func auf normale Beendigung des Programms aufgerufen werden (via exit() oder der Rückkehr aus main()) .
Original:
Registers the function pointed to by func to be called on normal program termination (via exit() or returning from main()).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Der Aufruf der Funktion von mehreren Threads nicht induziert eine Daten-Rennen. Die Implementierung unterstützt die Anmeldung von mindestens 32 Funktionen .
Original:
Calling the function from several threads does not induce a data race. The implementation shall support the registration of at least 32 functions.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Inhaltsverzeichnis

[Bearbeiten] Parameter

func -
Zeiger auf eine Funktion auf normale Beendigung des Programms aufgerufen werden
Original:
pointer to a function to be called on normal program termination
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Rückgabewert

0 wenn die Registrierung erfolgreich war, Wert ungleich Null sonst .
Original:
0 if the registration succeeds, nonzero value otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Ausnahmen

noexcept specification:  
noexcept
  (seit C++11)

[Bearbeiten] Beispiel

[Bearbeiten] Siehe auch

registriert eine Funktion auf quick_exit Aufruf aufgerufen werden
Original:
registers a function to be called on quick_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]
C documentation for atexit