X Tutup
The Wayback Machine - https://web.archive.org/web/20180308021844/http://ja.cppreference.com:80/w/cpp/utility/program/abort
名前空間
変種
操作

std::abort

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

 
 
 
プログラムサポートユーティリティ
プログラム終了
abort
exit
quick_exit(C++11)
_Exit(C++11)
環境とのやり取り
シグナル
シグナルの種類
SIGABRT
SIGFPE
SIGILL
SIGINT
SIGSEGV
SIGTERM
非ローカルジャンプ
setjmp
longjmp
jmp_buf
 
ヘッダ <cstdlib> で定義
[[noreturn]] void abort();
(C++11およびそれ以降)
             void abort();
(C++11以前)

Causes abnormal program termination unless SIGABRT is being caught by a signal handler passed to signal and the handler does not return.

Destructors of variables with automatic, thread local and static ストレージは、期間 are not called. Functions, passed to atexit() are also not called. Whether open resources such as files are closed is implementation defined. Implementation defined status is returned to the host environment that indicates unsuccessful execution.

目次

[編集] パラメータ

(なし)

[編集] 値を返します

(なし)

[編集] 例外

noexcept 指定:  
noexcept
  (C++11およびそれ以降)

[編集]

[編集] 参照

クリーンアップと、プログラムの正常終了を引き起こす
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.

(関数) [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]
X Tutup