std::_Exit
提供: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. |
| Defined in header <cstdlib>
|
||
| [[noreturn]] void _Exit( int exit_code ); |
(C + + 11以来) | |
完全に資源を整備せずに発生する通常のプログラムを終了させます.
Original:
Causes normal program termination to occur without completely cleaning the resources.
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.
自動、スレッドローカルおよび静的記憶域期間を持つ変数のデストラクタは呼び出されません。機能は
at_quick_exit()またはatexit()呼び出されませんに渡されます。ファイルなどのオープン·リソースが閉じているかどうかは実装依存である。 exit_codeEXIT_FAILUREである場合は、実装定義ステータスは、'不成功終了したことを示す、戻されます。他のケースでは、実装定義のステータス値が返されます。. Original:
Destructors of variables with automatic, thread local and static storage durations are not called. Functions passed to
at_quick_exit() or atexit() are not called. Whether open resources such as files are closed is implementation defined. If exit_code is EXIT_FAILURE, an implementation-defined status, indicating unsuccessful termination, is returned. In other cases implementation-defined status value is returned. 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.
目次 |
[編集] パラメータ
| exit_code | - | プログラムの状態を終了します
Original: exit status of the program The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
(なし)
Original:
(none)
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 |
[編集] も参照してください
| (清掃なし)プログラムの異常終了が発生します Original: causes abnormal program termination (without cleaning up) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| クリーンアップと、プログラムの正常終了を引き起こす Original: causes normal program termination with cleaning up 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 _Exit
| |