名稱空間
變體
操作

標準庫標頭檔案 <errno.h>

來自 cppreference.com

此標頭檔案是錯誤處理庫的一部分。

[編輯] 錯誤碼

擴充套件為 POSIX 相容的執行緒區域性錯誤碼變數的宏
(宏變數) [編輯]
標準 POSIX 相容錯誤條件的宏
(宏常量) [編輯]

[編輯] 概要

#define EDOM   /* implementation-defined */
#define EILSEQ /* implementation-defined */
#define ERANGE /* implementation-defined */
 
#define errno  /* implementation-defined */
 
// Only if the implementation defines __STDC_LIB_EXT1__ and additionally the user code
// defines __STDC_WANT_LIB_EXT1__ before any inclusion of <errno.h>:
#ifdef __STDC_WANT_LIB_EXT1__
#define __STDC_LIB_EXT1__  /* implementation-defined */
#define errno_t            /* implementation-defined */
#endif