OSDN Git Service

68838c3d8cbd88e13307da7ae11cc34450e137cf
[linuxjm/LDP_man-pages.git] / release / man3 / towctrans.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
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.
8 .\" %%%LICENSE_END
9 .\"
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
14 .\"   ISO/IEC 9899:1999
15 .\"
16 .\"*******************************************************************
17 .\"
18 .\" This file was generated with po4a. Translate the source file.
19 .\"
20 .\"*******************************************************************
21 .\"
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"
27 .\"O .SH NOTES
28 .\"O The behavior of
29 .\"O .BR towctrans ()
30 .\"O depends on the
31 .\"O .B LC_CTYPE
32 .\"O category of the
33 .\"O current locale.
34 .\"O .SH "SEE ALSO"
35 .\"
36 .TH TOWCTRANS 3 2013\-12\-24 GNU "Linux Programmer's Manual"
37 .SH 名前
38 towctrans \- ワイド文字の変換
39 .SH 書式
40 .nf
41 \fB#include <wctype.h>\fP
42 .sp
43 \fBwint_t towctrans(wint_t \fP\fIwc\fP\fB, wctrans_t \fP\fIdesc\fP\fB);\fP
44 .fi
45 .SH 説明
46 \fIwc\fP がワイド文字ならば、 \fBtowctrans\fP()  関数は変換記述子 \fIdesc\fP に従ってその文字を変換する。\fIwc\fP が
47 \fBWEOF\fP ならば、 \fBWEOF\fP が返される。
48 .PP
49 \fIdesc\fP は、 \fBwctrans\fP(3)  が返した変換記述子でなければならない。
50 .SH 返り値
51 \fBtowctrans\fP()  関数は、変換結果のワイド文字を返す。\fIwc\fP が \fBWEOF\fP ならば、\fBWEOF\fP を返す。
52 .SH 属性
53 .SS "マルチスレッディング (pthreads(7) 参照)"
54 \fBtowctrans\fP() 関数はスレッドセーフである。
55 .SH 準拠
56 C99.
57 .SH 注意
58 \fBtowctrans\fP()  の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。
59 .SH 関連項目
60 \fBtowlower\fP(3), \fBtowupper\fP(3), \fBwctrans\fP(3)
61 .SH この文書について
62 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.65 の一部
63 である。プロジェクトの説明とバグ報告に関する情報は
64 http://www.kernel.org/doc/man\-pages/ に書かれている。