std::at_quick_exit
Aus cppreference.com
![]() | 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. |
definiert in Header <cstdlib> | ||
extern"C" int at_quick_exit(void(*func)()); extern"C++"int at_quick_exit(void(*func)()); | ||
Registriert die Funktion, auf die
func
auf schnelle Beendigung des Programms aufgerufen werden (via std::quick_exit) .Original:
Registers the function pointed to by
func
to be called on quick program termination (via std::quick_exit).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.
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.
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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten]Ausnahmen
[Bearbeiten]Beispiel
This section is incomplete Reason: no example |
[Bearbeiten]Siehe auch
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) | |
C documentation for at_quick_exit |