.\" 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 .\" .\" About this Japanese page, please contact to JM Project .\" Translated Sat Oct 23 19:48:40 JST 1999 .\" by FUJIWARA Teruyoshi .\" .TH WCTRANS 3 1999-07-25 "GNU" "Linux Programmer's Manual" .\"O .SH NAME .SH 名前 .\"O wctrans \- wide-character translation mapping wctrans \- ワイド文字変換マッピング .\"O .SH SYNOPSIS .SH 書式 .nf .B #include .sp .BI "wctrans_t wctrans(const char *" name ); .fi .\"O .SH DESCRIPTION .SH 説明 .\"O The \fIwctrans_t\fP type represents a mapping .\"O which can map a wide character to .\"O another wide character. .\"O Its nature is implementation-dependent, but the special .\"O value \fI(wctrans_t)\ 0\fP denotes an invalid mapping. .\"O Nonzero \fIwctrans_t\fP .\"O values can be passed to the .\"O .BR towctrans (3) .\"O function to actually perform .\"O the wide-character mapping. \fIwctrans_t\fP 型は、あるワイド文字を他のワイド文字に変換できるマッピ ングを表現する。本質的には実装依存であるが、特殊な値 \fI(wctrans_t)0\fP は不正なマッピングを示す。0 でない値を持つ \fIwctrans_t\fP を .BR towctrans (3) 関数に渡すことによって、実際に ワイド文字の変換を実行させることができる。 .PP .\"O The .\"O .BR wctrans () .\"O function returns a mapping, given by its name. .\"O The set of .\"O valid names depends on the .\"O .B LC_CTYPE .\"O category of the current locale, but the .\"O following names are valid in all locales. .BR wctrans () は、名前によって与えられるマッピングを返す。有効な名前の 集合は現在のロケールの .B LC_CTYPE カテゴリに依存するが、以下の名前は全てのロケールにおいて有効である。 .nf .\"O "tolower" \- realizes the \fBtolower\fP(3) mapping "tolower" \- \fBtolower\fP(3) のマッピングを実現する .\"O "toupper" \- realizes the \fBtoupper\fP(3) mapping "toupper" \- \fBtoupper\fP(3) のマッピングを実現する .fi .\"O .SH "RETURN VALUE" .SH 返り値 .\"O The .\"O .BR wctrans () .\"O function returns a mapping descriptor if the \fIname\fP .\"O is valid. .\"O Otherwise it returns \fI(wctrans_t) 0\fP. .BR wctrans () 関数は、\fIname\fP が有効ならばマッピング記述子を返す。 有効でなければ \fI(wctrans_t) 0\fP を返す。 .\"O .SH "CONFORMING TO" .SH 準拠 C99. .\"O .SH NOTES .SH 注意 .\"O The behavior of .\"O .BR wctrans () .\"O depends on the .\"O .B LC_CTYPE .\"O category of the .\"O current locale. .BR wctrans () の動作は、現在のロケールの .B LC_CTYPE カテゴリに依存する。 .\"O .SH "SEE ALSO" .SH 関連項目 .BR towctrans (3)