std::at_quick_exit
De cppreference.com
<tbody>
</tbody>
| Déclaré dans l'en-tête <cstdlib>
|
||
extern "C" int at_quick_exit( void (*func)() ); extern "C++" int at_quick_exit( void (*func)() ); |
||
Enregistre la fonction pointée par
func d'être appelé à la cessation du programme rapide (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.
Appel de la fonction de plusieurs threads n'induit pas une race de données. La mise en œuvre doit appuyer l'homologation des fonctions
32 au moins .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.
Paramètres
| func | - | pointeur vers une fonction qui sera appelée à la fin du programme normal
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. |
Retourne la valeur
0 si l'inscription réussit, valeur différente de zéro autrement .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.
Exceptions
Exemple
| This section is incomplete Reason: no example |
Voir aussi
enregistre une fonction qui sera appelée lors de son invocation exit() 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. (fonction) | |
C documentation for at_quick_exit
| |