名前空間
変種
操作

std::exit

提供: cppreference.com
< cpp‎ | utility‎ | program

 
 
ユーティリティライブラリ
支援を入力します (basic types, RTTI, type traits)
動的なメモリ管理
エラー処理
プログラムユーティリティ
可変個引数関数
日付と時刻
関数オブジェクト
initializer_list(C++11)
bitset
hash(C++11)
関係演算子
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>=
ペアとタプル
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)
フォワード、スワップ、および移動
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)
 
プログラム支援ユーティリティ
プログラムの終了
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)
環境と通信する
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.
信号
Original:
Signals
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
信号タイプ
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
非ローカルジャンプします
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
タイプ
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
 
Defined in header <cstdlib>
[[noreturn]] void exit( int exit_code );
(C++11およびそれ以降)
             void exit( int exit_code );
(C++11以前)
発生するプログラムの正常終了を引き起こし.
Original:
Causes normal program termination to occur.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
いくつかのクリーンアップの手順が実行されます
Original:
Several cleanup steps are performed:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
  • スレッドローカル記憶期間持つオブジェクトのデストラクタは呼ばれています
    Original:
    destructors of objects with thread local 記憶期間 are called
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • 静的記憶域期間を持つオブジェクトのデストラクタが呼び出されます
    Original:
    destructors of objects with static storage duration are called
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • std::atexitに渡された関数が呼ばれます。例外は関数のいずれかから伝播しようとした場合、std::terminateが呼び出されます
    Original:
    functions passed to std::atexit are called. If an exception tries to propagate out of any of the function, std::terminate is called
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • すべてのCストリームをフラッシュし、閉じています
    Original:
    all C streams are flushed and closed
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • std::tmpfileによって作成されたファイルは削除されます
    Original:
    files created by std::tmpfile are removed
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • 制御はホスト環境に戻されます。 exit_codeEXIT_SUCCESSている場合は、正常終了を示す実装で定義されたステータスが返されます。 exit_codeEXIT_FAILUREている場合は、正常に終了しなかったことを示す実装で定義されたステータスが返されます。他のケースでは、実装定義のステータス値が返されます。.
    Original:
    control is returned to the host environment. If exit_code is EXIT_SUCCESS, an implementation-defined status, indicating successful termination is returned. 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.
自動ストレージは、期間持つ変数のデストラクタは呼ばれません.
Original:
Destructors of variables with automatic ストレージは、期間 are not called.
The text has been machine-translated via Google Translate.
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.

[編集]

[編集] も参照してください

(清掃なし)プログラムの異常終了が発生します
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.

(関数) [edit]
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.

(関数) [edit]
完全にクリーンアップせずに、プログラムの正常終了を引き起こす
Original:
causes normal program termination without completely cleaning up
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(関数) [edit]