Namespace
Varianti

cpp/utility/program/at quick exit: differenze tra le versioni

Da cppreference.com.
< cpp‎ | utility‎ | program
m (r2.7.3) (Bot: Aggiungo de, en, es, fr, ja, pt, ru, zh)
m (Use {{lc}}. Update links. Various fixes.)
 
Riga 7: Riga 7:
 
}}
 
}}
  
{{tr|Registra la funzione puntata da {{tt|func}} di essere chiamato al termine del programma rapido (via {{c|std::quick_exit}}).|Registers the function pointed to by {{tt|func}} to be called on quick program termination (via {{c|std::quick_exit}}).}}
+
{{tr|Registra la funzione puntata da {{tt|func}} di essere chiamato al termine del programma rapido (via {{|std::quick_exit}}).|Registers the function pointed to by {{tt|func}} to be called on quick program termination (via {{|std::quick_exit}}).}}
  
 
{{tr|Chiamare la funzione da più thread non induce una gara di dati. L'applicazione deve supportare la registrazione di almeno funzioni {{c|32}}.|Calling the function from several threads does not induce a data race. The implementation shall support the registration of at least {{c|32}} functions.}}
 
{{tr|Chiamare la funzione da più thread non induce una gara di dati. L'applicazione deve supportare la registrazione di almeno funzioni {{c|32}}.|Calling the function from several threads does not induce a data race. The implementation shall support the registration of at least {{c|32}} functions.}}
  
 
===Parametri===
 
===Parametri===
{{param list begin}}
+
{{begin}}
{{param list item | func |{{tr| puntatore a una funzione da chiamare in caso di cessazione del programma normale| pointer to a function to be called on normal program termination}}}}
+
{{| func |{{tr| puntatore a una funzione da chiamare in caso di cessazione del programma normale| pointer to a function to be called on normal program termination}}}}
{{param list end}}
+
{{end}}
  
 
===Valore di ritorno===
 
===Valore di ritorno===
Riga 30: Riga 30:
  
 
===Vedi anche===
 
===Vedi anche===
{{dcl list begin}}
+
{{begin}}
{{dcl list template | cpp/utility/program/dcl list atexit}}
+
{{| cpp/utility/program/atexit}}
{{dcl list see c | c/program/at_quick_exit}}
+
{{see c | c/program/at_quick_exit}}
{{dcl list end}}
+
{{end}}
  
 
[[de:cpp/utility/program/at quick exit]]
 
[[de:cpp/utility/program/at quick exit]]

Versione attuale delle 16:01, 2 lug 2013

 
 
Utilità libreria
Tipo di supporto (basic types, RTTI, type traits)
Gestione della memoria dinamica
La gestione degli errori
Programma di utilità
Funzioni variadic
Data e ora
Funzione oggetti
initializer_list(C++11)
bitset
hash(C++11)
Gli operatori relazionali
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Coppie e tuple
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
Swap, in avanti e spostare
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
Programma di supporto utilità
Programma di terminazione
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)
atexit
at_quick_exit(C++11)
EXIT_SUCCESS
EXIT_FAILURE
Comunicante con l'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.
Segnali
Original:
Signals
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Tipi di segnale
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
Non locali salti
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
Tipi
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
 
Elemento definito nell'header <cstdlib>
extern "C"   int at_quick_exit( void (*func)() );
extern "C++" int at_quick_exit( void (*func)() );
Registra la funzione puntata da func di essere chiamato al termine del programma rapido (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.
Chiamare la funzione da più thread non induce una gara di dati. L'applicazione deve supportare la registrazione di almeno funzioni 32.
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.

Indice

[modifica] Parametri

func -
puntatore a una funzione da chiamare in caso di cessazione del programma normale
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.

[modifica] Valore di ritorno

0 se la registrazione ha esito positivo, il valore diverso da zero in caso contrario.
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.

[modifica] Eccezioni

noexcept specification:  
noexcept
  (dal C++11)

[modifica] Esempio

[modifica] Vedi anche

registra una funzione di essere chiamato invocazione 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.

(funzione) [modifica]
C documentation for at_quick_exit