OSDN Git Service

(split) Convert release and draft pages to UTF-8.
[linuxjm/LDP_man-pages.git] / release / 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 .SH 名前
20 wctrans \- ワイド文字変換マッピング
21 .SH 書式
22 .nf
23 .B #include <wctype.h>
24 .sp
25 .BI "wctrans_t wctrans(const char *" name );
26 .fi
27 .SH 説明
28 \fIwctrans_t\fP 型は、あるワイド文字を他のワイド文字に変換できるマッピ
29 ングを表現する。本質的には実装依存であるが、特殊な値
30 \fI(wctrans_t)0\fP は不正なマッピングを示す。0 でない値を持つ
31 \fIwctrans_t\fP を
32 .BR towctrans (3)
33 関数に渡すことによって、実際に
34 ワイド文字の変換を実行させることができる。
35 .PP
36 .BR wctrans ()
37 は、名前によって与えられるマッピングを返す。有効な名前の
38 集合は現在のロケールの
39 .B LC_CTYPE
40 カテゴリに依存するが、以下の名前は全てのロケールにおいて有効である。
41 .nf
42
43   "tolower" \- \fBtolower\fP(3) のマッピングを実現する
44   "toupper" \- \fBtoupper\fP(3) のマッピングを実現する
45 .fi
46 .SH 返り値
47 .BR wctrans ()
48 関数は、\fIname\fP が有効ならばマッピング記述子を返す。
49 有効でなければ \fI(wctrans_t) 0\fP を返す。
50 .SH 準拠
51 C99.
52 .SH 注意
53 .BR wctrans ()
54 の動作は、現在のロケールの
55 .B LC_CTYPE
56 カテゴリに依存する。
57 .SH 関連項目
58 .BR towctrans (3)