.\" Copyright (c) Bruno Haible .\" .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" References consulted: .\" GNU glibc-2 source code and manual .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html .\" ISO/IEC 9899:1999 .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH WCTRANS 3 1999\-07\-25 GNU "Linux Programmer's Manual" .SH 名前 wctrans \- ワイド文字変換マッピング .SH 書式 .nf \fB#include \fP .sp \fBwctrans_t wctrans(const char *\fP\fIname\fP\fB);\fP .fi .SH 説明 \fIwctrans_t\fP 型は、あるワイド文字を他のワイド文字に変換できるマッピ ングを表現する。本質的には実装依存であるが、特殊な値 \fI(wctrans_t)0\fP は不正なマッピングを示す。0 でない値を持つ \fIwctrans_t\fP を \fBtowctrans\fP(3) 関数に渡すことによって、実際に ワイド文字の変換を実行させることができる。 .PP \fBwctrans\fP() は、名前によって与えられるマッピングを返す。有効な名前の 集合は現在のロケールの \fBLC_CTYPE\fP カテゴリに依存するが、以下の名前は全てのロケールにおいて有効である。 .nf "tolower" \- \fBtolower\fP(3) のマッピングを実現する "toupper" \- \fBtoupper\fP(3) のマッピングを実現する .fi .SH 返り値 \fBwctrans\fP() 関数は、\fIname\fP が有効ならばマッピング記述子を返す。 有効でなければ \fI(wctrans_t) 0\fP を返す。 .SH 準拠 C99. .SH 注意 \fBwctrans\fP() の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。 .SH 関連項目 \fBtowctrans\fP(3)