OSDN Git Service

d24a008c3f2dcf58733913f0491a8c620bd0cf23
[linuxjm/LDP_man-pages.git] / draft / man3 / wctrans.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 Sat Oct 23 19:48:40 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH WCTRANS 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 .\"O .SH NAME
20 .SH 名前
21 .\"O wctrans \- wide-character translation mapping
22 wctrans \- ワイド文字変換マッピング
23 .\"O .SH SYNOPSIS
24 .SH 書式
25 .nf
26 .B #include <wctype.h>
27 .sp
28 .BI "wctrans_t wctrans(const char *" name );
29 .fi
30 .\"O .SH DESCRIPTION
31 .SH 説明
32 .\"O The \fIwctrans_t\fP type represents a mapping
33 .\"O which can map a wide character to
34 .\"O another wide character.
35 .\"O Its nature is implementation-dependent, but the special
36 .\"O value \fI(wctrans_t)\ 0\fP denotes an invalid mapping.
37 .\"O Nonzero \fIwctrans_t\fP
38 .\"O values can be passed to the
39 .\"O .BR towctrans (3)
40 .\"O function to actually perform
41 .\"O the wide-character mapping.
42 \fIwctrans_t\fP 型は、あるワイド文字を他のワイド文字に変換できるマッピ
43 ングを表現する。本質的には実装依存であるが、特殊な値
44 \fI(wctrans_t)0\fP は不正なマッピングを示す。0 でない値を持つ
45 \fIwctrans_t\fP を
46 .BR towctrans (3)
47 関数に渡すことによって、実際に
48 ワイド文字の変換を実行させることができる。
49 .PP
50 .\"O The
51 .\"O .BR wctrans ()
52 .\"O function returns a mapping, given by its name.
53 .\"O The set of
54 .\"O valid names depends on the
55 .\"O .B LC_CTYPE
56 .\"O category of the current locale, but the
57 .\"O following names are valid in all locales.
58 .BR wctrans ()
59 は、名前によって与えられるマッピングを返す。有効な名前の
60 集合は現在のロケールの
61 .B LC_CTYPE
62 カテゴリに依存するが、以下の名前は全てのロケールにおいて有効である。
63 .nf
64
65 .\"O   "tolower" \- realizes the \fBtolower\fP(3) mapping
66   "tolower" \- \fBtolower\fP(3) のマッピングを実現する
67 .\"O   "toupper" \- realizes the \fBtoupper\fP(3) mapping
68   "toupper" \- \fBtoupper\fP(3) のマッピングを実現する
69 .fi
70 .\"O .SH "RETURN VALUE"
71 .SH 返り値
72 .\"O The
73 .\"O .BR wctrans ()
74 .\"O function returns a mapping descriptor if the \fIname\fP
75 .\"O is valid.
76 .\"O Otherwise it returns \fI(wctrans_t) 0\fP.
77 .BR wctrans ()
78 関数は、\fIname\fP が有効ならばマッピング記述子を返す。
79 有効でなければ \fI(wctrans_t) 0\fP を返す。
80 .\"O .SH "CONFORMING TO"
81 .SH 準拠
82 C99.
83 .\"O .SH NOTES
84 .SH 注意
85 .\"O The behavior of
86 .\"O .BR wctrans ()
87 .\"O depends on the
88 .\"O .B LC_CTYPE
89 .\"O category of the
90 .\"O current locale.
91 .BR wctrans ()
92 の動作は、現在のロケールの
93 .B LC_CTYPE
94 カテゴリに依存する。
95 .\"O .SH "SEE ALSO"
96 .SH 関連項目
97 .BR towctrans (3)