1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
14 .\"*******************************************************************
16 .\" This file was generated with po4a. Translate the source file.
18 .\"*******************************************************************
19 .TH WCTRANS 3 1999\-07\-25 GNU "Linux Programmer's Manual"
21 wctrans \- ワイド文字変換マッピング
24 \fB#include <wctype.h>\fP
26 \fBwctrans_t wctrans(const char *\fP\fIname\fP\fB);\fP
29 \fIwctrans_t\fP 型は、あるワイド文字を他のワイド文字に変換できるマッピ ングを表現する。本質的には実装依存であるが、特殊な値
30 \fI(wctrans_t)0\fP は不正なマッピングを示す。0 でない値を持つ \fIwctrans_t\fP を \fBtowctrans\fP(3)
31 関数に渡すことによって、実際に ワイド文字の変換を実行させることができる。
33 \fBwctrans\fP() は、名前によって与えられるマッピングを返す。有効な名前の 集合は現在のロケールの \fBLC_CTYPE\fP
34 カテゴリに依存するが、以下の名前は全てのロケールにおいて有効である。
36 "tolower" \- \fBtolower\fP(3) のマッピングを実現する
37 "toupper" \- \fBtoupper\fP(3) のマッピングを実現する
40 \fBwctrans\fP() 関数は、\fIname\fP が有効ならばマッピング記述子を返す。 有効でなければ \fI(wctrans_t) 0\fP を返す。
44 \fBwctrans\fP() の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。