OSDN Git Service

bce99bfb2a1110cb693e3aa209935821876a9cf7
[linuxjm/LDP_man-pages.git] / draft / man3 / towctrans.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" References consulted:
9 .\"   GNU glibc-2 source code and manual
10 .\"   Dinkumware C library reference http://www.dinkumware.com/
11 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .\"   ISO/IEC 9899:1999
13 .\"
14 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Mon Oct 25 08:17:41 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .\" WORD: transliteration descriptor    変換記述子
19 .\"
20 .TH TOWCTRANS 3 1999-07-25 "GNU" "Linux Programmer's Manual"
21 .\"O .SH NAME
22 .SH 名前
23 .\"O towctrans \- wide-character transliteration
24 towctrans \- ワイド文字の変換
25 .\"O .SH SYNOPSIS
26 .SH 書式
27 .nf
28 .B #include <wctype.h>
29 .sp
30 .BI "wint_t towctrans(wint_t " wc ", wctrans_t " desc );
31 .fi
32 .\"O .SH DESCRIPTION
33 .SH 説明
34 .\"O If \fIwc\fP is a wide character, the
35 .\"O .BR towctrans ()
36 .\"O function
37 .\"O translates it according to the transliteration descriptor \fIdesc\fP.
38 .\"O If \fIwc\fP is \fBWEOF\fP, \fBWEOF\fP is returned.
39 \fIwc\fP がワイド文字ならば、
40 .BR towctrans ()
41 関数は変換記述子
42 \fIdesc\fP に従ってその文字を変換する。\fIwc\fP が \fBWEOF\fP ならば、
43 \fBWEOF\fP が返される。
44 .PP
45 .\"O \fIdesc\fP must be a transliteration descriptor returned by
46 .\"O the
47 .\"O .BR wctrans (3)
48 .\"O function.
49 \fIdesc\fP は、
50 .BR wctrans (3)
51 が返した変換記述子でなければならない。
52 .\"O .SH "RETURN VALUE"
53 .SH 返り値
54 .\"O The
55 .\"O .BR towctrans ()
56 .\"O function returns the translated wide character,
57 .\"O or \fBWEOF\fP if \fIwc\fP is \fBWEOF\fP.
58 .BR towctrans ()
59 関数は、変換結果のワイド文字を返す。\fIwc\fP が \fBWEOF\fP
60 ならば、\fBWEOF\fP を返す。
61 .\"O .SH "CONFORMING TO"
62 .SH 準拠
63 C99.
64 .\"O .SH NOTES
65 .SH 注意
66 .\"O The behavior of
67 .\"O .BR towctrans ()
68 .\"O depends on the
69 .\"O .B LC_CTYPE
70 .\"O category of the
71 .\"O current locale.
72 .BR towctrans ()
73 の動作は、現在のロケールの
74 .B LC_CTYPE
75 カテゴリに依存する。
76 .\"O .SH "SEE ALSO"
77 .SH 関連項目
78 .BR towlower (3),
79 .BR towupper (3),
80 .BR wctrans (3)