at_quick_exit
提供: cppreference.com
|
|
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
| Defined in header <stdlib.h>
|
||
| int at_quick_exit( void (*func)() ); |
||
(
func経由)クイックプログラムの終了時に呼び出されるquick_exitが指す関数を登録します.Original:
Registers the function pointed to by
func to be called on quick program termination (via 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.
複数のスレッドから関数を呼び出すと、データの競合を誘発しない。実装は少なくとも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.
You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集] パラメータ
| func | - | 通常のプログラムの終了時に呼び出される関数へのポインタです
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. |
[編集] 値を返します
0そうでなければ、登録が成功した場合、ゼロ以外の値.
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.
[編集] 例
| This section is incomplete Reason: no example |
[編集] 参照
| 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. (関数) | |
| C++ documentation for at_quick_exit
|

