名稱空間
變體
操作

標準庫標頭檔案 <wctype.h> (C95)

來自 cppreference.com

此標頭檔案是寬字元分類和對映工具庫的一部分。

目錄

[編輯] 函式

字元分類
檢查寬字元是否為字母或數字
(函式) [編輯]
檢查寬字元是否為字母
(函式) [編輯]
檢查寬字元是否為小寫字母
(函式) [編輯]
檢查寬字元是否為大寫字母
(函式) [編輯]
檢查寬字元是否為數字
(函式) [編輯]
檢查寬字元是否為十六進位制字元
(函式) [編輯]
檢查寬字元是否為控制字元
(函式) [編輯]
檢查寬字元是否為圖形字元
(函式) [編輯]
檢查寬字元是否為空格字元
(函式) [編輯]
檢查寬字元是否為空白字元
(函式) [編輯]
檢查寬字元是否為可列印字元
(函式) [編輯]
檢查寬字元是否為標點符號
(函式) [編輯]
根據指定的 LC_CTYPE 類別對寬字元進行分類
(函式) [編輯]
(C95)
在當前 C 語言環境中查詢字元分類類別
(函式) [編輯]
字元操作
將寬字元轉換為小寫
(函式) [編輯]
將寬字元轉換為大寫
(函式) [編輯]
根據指定的 LC_CTYPE 對映類別執行字元對映
(函式) [編輯]
在當前 C 語言環境中查詢字元對映類別
(函式) [編輯]

[編輯] 型別

wint_t
(C95)
可容納任何有效寬字元和至少一個額外值的整型
(型別定義)
wctrans_t
(C95)
儲存區域設定特定字元對映的標量型別
(型別定義)
wctype_t
(C95)
儲存區域設定特定字元分類的標量型別
(型別定義)

[編輯]

WEOF
(C95)
型別為 wint_t 的非字元值,用於指示錯誤
(宏常量)

[編輯] 概要

typedef /* see description */ wctrans_t;
typedef /* see description */ wctype_t;
typedef /* see description */ wint_t;
 
#define WEOF /* see description */
 
int iswalnum(wint_t wc);
int iswalpha(wint_t wc);
int iswblank(wint_t wc);
int iswcntrl(wint_t wc);
int iswdigit(wint_t wc);
int iswgraph(wint_t wc);
int iswlower(wint_t wc);
int iswprint(wint_t wc);
int iswpunct(wint_t wc);
int iswspace(wint_t wc);
int iswupper(wint_t wc);
int iswxdigit(wint_t wc);
int iswctype(wint_t wc, wctype_t desc);
wctype_t wctype(const char* property);
wint_t towlower(wint_t wc);
wint_t towupper(wint_t wc);
wint_t towctrans(wint_t wc, wctrans_t desc);
wctrans_t wctrans(const char* property);