wctrans
Section: C Library Functions (3)
Updated: 2026-02-08
Index
JM Home Page
roff page
名前
wctrans - ワイド文字変換マッピング
ライブラリ
標準 C ライブラリ (libc,~-lc)
書式
#include <wctype.h>
wctrans_t wctrans(const char *name);
説明
wctrans_t 型は、あるワイド文字を他のワイド文字に変換できるマッピ ングを表現する。本質的には実装依存であるが、特殊な値
(wctrans_t)0 は不正なマッピングを示す。0 でない値を持つ wctrans_t を towctrans(3)
関数に渡すことによって、実際に ワイド文字の変換を実行させることができる。
wctrans() は、名前によって与えられるマッピングを返す。有効な名前の 集合は現在のロケールの LC_CTYPE
カテゴリーに依存するが、以下の名前は全てのロケールにおいて有効である。
-
| "tolower" - | realizes the tolower(3) mapping
|
| "toupper" - | realizes the toupper(3) mapping
|
返り値
wctrans() 関数は、name が有効ならばマッピング記述子を返す。 有効でなければ (wctrans_t) 0 を返す。
属性
この節で使用されている用語の説明については、 attributes(7) を参照。
| インターフェース | 属性 | 値
|
|
wctrans()
| Thread safety | MT-Safe locale
|
標準規格
C11, POSIX.1-2008.
歴史
POSIX.1-2001, C99.
注意
wctrans() の動作は、現在のロケールの LC_CTYPE カテゴリーに依存する。
関連項目
towctrans(3)
Index
- 名前
-
- ライブラリ
-
- 書式
-
- 説明
-
- 返り値
-
- 属性
-
- 標準規格
-
- 歴史
-
- 注意
-
- 関連項目
-
This document was created by
man2html,
using the manual pages.