OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[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)