cppreference.com
建立賬戶
登入
名稱空間
頁面
討論
變體
檢視
檢視
編輯
歷史
操作
SIG_ERR
來自 cppreference.com
<
cpp
|
utility
|
program
C++
編譯器支援
自由(freestanding)與宿主(hosted)
語言
標準庫
標準庫標頭檔案
具名要求
特性測試宏
(C++20)
語言支援庫
概念庫
(C++20)
診斷庫
記憶體管理庫
超程式設計庫
(C++11)
通用工具庫
容器庫
迭代器庫
範圍庫
(C++20)
演算法庫
字串庫
文字處理庫
數值庫
日期和時間庫
輸入/輸出庫
檔案系統庫
(C++17)
併發支援庫
(C++11)
執行控制庫
(C++26)
技術規範
符號索引
外部庫
[編輯]
工具庫
語言支援
型別支援
(基本型別、RTTI)
庫特性測試宏
(C++20)
程式工具
變參函式
initializer_list
(C++11)
is_constant_evaluated
(C++20)
is_within_lifetime
(C++26)
source_location
(C++20)
協程支援
(C++20)
契約支援
(C++26)
三路比較
three_way_comparable
three_way_comparable_with
(C++20)
(C++20)
strong_ordering
(C++20)
weak_ordering
(C++20)
partial_ordering
(C++20)
common_comparison_category
(C++20)
compare_three_way_result
(C++20)
compare_three_way
(C++20)
strong_order
(C++20)
weak_order
(C++20)
partial_order
(C++20)
compare_strong_order_fallback
(C++20)
compare_weak_order_fallback
(C++20)
compare_partial_order_fallback
(C++20)
is_eq
is_lt
is_lteq
(C++20)
(C++20)
(C++20)
is_neq
is_gt
is_gteq
(C++20)
(C++20)
(C++20)
通用工具
函式物件
位操作
(C++20)
bitset
hash
(C++11)
關係運算符
(C++20 中棄用)
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
整數比較函式
cmp_equal
cmp_less
cmp_less_than
(C++20)
(C++20)
(C++20)
cmp_not_equal
cmp_greater
cmp_greater_than
(C++20)
(C++20)
(C++20)
in_range
(C++20)
交換
與
型別操作
swap
ranges::swap
(C++20)
exchange
(C++14)
declval
(C++11)
to_underlying
(C++23)
forward
(C++11)
forward_like
(C++23)
move
(C++11)
move_if_noexcept
(C++11)
as_const
(C++17)
常用詞彙型別
pair
tuple
(C++11)
optional
(C++17)
any
(C++17)
variant
(C++17)
tuple_size
(C++11)
tuple_element
(C++11)
apply
(C++17)
make_from_tuple
(C++17)
expected
(C++23)
[編輯]
程式支援實用程式
程式終止
abort
exit
quick_exit
(C++11)
_Exit
(C++11)
atexit
at_quick_exit
(C++11)
EXIT_SUCCESS
EXIT_FAILURE
不可達控制流
unreachable
(C++23)
與環境通訊
system
getenv
訊號
signal
raise
sig_atomic_t
SIG_DFL
SIG_IGN
SIG_ERR
訊號型別
SIGABRT
SIGFPE
SIGILL
SIGINT
SIGSEGV
SIGTERM
非區域性跳轉
setjmp
longjmp
型別
jmp_buf
[編輯]
定義於標頭檔案
<csignal>
#define SIG_ERR /* implementation defined */
型別為
void
(
*
)
(
int
)
的值。當
std::signal
返回此值時,表示發生了錯誤。
[
編輯
]
參閱
signal
為特定訊號設定訊號處理程式
(函式)
[編輯]
C 文件
關於
SIG_ERR