.\" 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 Mon Oct 25 08:17:41 JST 1999 .\" by FUJIWARA Teruyoshi .\" .\" WORD: transliteration descriptor 変換記述子 .\" .TH TOWCTRANS 3 1999-07-25 "GNU" "Linux Programmer's Manual" .SH 名前 towctrans \- ワイド文字の変換 .SH 書式 .nf .B #include .sp .BI "wint_t towctrans(wint_t " wc ", wctrans_t " desc ); .fi .SH 説明 \fIwc\fP がワイド文字ならば、 .BR towctrans () 関数は変換記述子 \fIdesc\fP に従ってその文字を変換する。\fIwc\fP が \fBWEOF\fP ならば、 \fBWEOF\fP が返される。 .PP \fIdesc\fP は、 .BR wctrans (3) が返した変換記述子でなければならない。 .SH 返り値 .BR towctrans () 関数は、変換結果のワイド文字を返す。\fIwc\fP が \fBWEOF\fP ならば、\fBWEOF\fP を返す。 .SH 準拠 C99. .SH 注意 .BR towctrans () の動作は、現在のロケールの .B LC_CTYPE カテゴリに依存する。 .SH 関連項目 .BR towlower (3), .BR towupper (3), .BR wctrans (3)