1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
10 .\" References consulted:
11 .\" GNU glibc-2 source code and manual
12 .\" Dinkumware C library reference http://www.dinkumware.com/
13 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
16 .\"*******************************************************************
18 .\" This file was generated with po4a. Translate the source file.
20 .\"*******************************************************************
22 .\" Translated Mon Oct 25 08:17:41 JST 1999
23 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
24 .\"O function returns the translated wide character,
25 .\"O or \fBWEOF\fP if \fIwc\fP is \fBWEOF\fP.
26 .\"O .SH "CONFORMING TO"
36 .TH TOWCTRANS 3 2013\-12\-24 GNU "Linux Programmer's Manual"
41 \fB#include <wctype.h>\fP
43 \fBwint_t towctrans(wint_t \fP\fIwc\fP\fB, wctrans_t \fP\fIdesc\fP\fB);\fP
46 \fIwc\fP がワイド文字ならば、 \fBtowctrans\fP() 関数は変換記述子 \fIdesc\fP に従ってその文字を変換する。\fIwc\fP が
47 \fBWEOF\fP ならば、 \fBWEOF\fP が返される。
49 \fIdesc\fP は、 \fBwctrans\fP(3) が返した変換記述子でなければならない。
51 \fBtowctrans\fP() 関数は、変換結果のワイド文字を返す。\fIwc\fP が \fBWEOF\fP ならば、\fBWEOF\fP を返す。
53 .SS "マルチスレッディング (pthreads(7) 参照)"
54 \fBtowctrans\fP() 関数はスレッドセーフである。
58 \fBtowctrans\fP() の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。
60 \fBtowlower\fP(3), \fBtowupper\fP(3), \fBwctrans\fP(3)
62 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
63 である。プロジェクトの説明とバグ報告に関する情報は
64 http://www.kernel.org/doc/man\-pages/ に書かれている。