OSDN Git Service

39012d5870ee3c9da6577bf098287bada87f20db
[linuxjm/LDP_man-pages.git] / draft / man3 / wctype.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 20:01:16 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH WCTYPE 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 .\"O .SH NAME
20 .SH 名前
21 .\"O wctype \- wide-character classification
22 wctype \- ワイド文字の分類
23 .\"O .SH SYNOPSIS
24 .SH 書式
25 .nf
26 .B #include <wctype.h>
27 .sp
28 .BI "wctype_t wctype(const char *" name );
29 .fi
30 .\"O .SH DESCRIPTION
31 .SH 説明
32 .\"O The
33 .\"O .I wctype_t
34 .\"O type represents a property which a wide character may or
35 .\"O may not have.
36 .\"O In other words, it represents a class of wide characters.
37 .I wctype_t
38 型は、ワイド文字が持っている、あるいは持っていない属性を表現する。
39 言い換えると、
40 .I wctype_t
41 型はワイド文字のクラスを表現する。
42 .\"O This type's nature is implementation-dependent, but the special value
43 .\"O .I "(wctype_t) 0"
44 .\"O denotes an invalid property.
45 .\"O Nonzero
46 .\"O .I wctype_t
47 .\"O values
48 .\"O can be passed to the
49 .\"O .BR iswctype (3)
50 .\"O function
51 .\"O to actually test whether a given
52 .\"O wide character has the property.
53 この型は本質的に実装依存であるが、特殊な値
54 .I "(wctype_t) 0"
55 は不正な属性を示す。
56 0 でない値を持つ
57 .I wctype_t
58
59 .BR iswctype (3)
60 関数に渡
61 すことによって、与えられたワイド文字がその属性を持つかどうかを実際にテ
62 ストすることができる。
63 x.PP
64 .\"O The
65 .\"O .BR wctype ()
66 .\"O function returns a property, given by its name.
67 .\"O The set of
68 .\"O valid names depends on the
69 .\"O .B LC_CTYPE
70 .\"O category of the current locale, but the
71 .\"O following names are valid in all locales.
72 .BR wctype ()
73 関数は、名前によって与えられる属性を返す。有効な名前の集
74 合は現在のロケールの
75 .B LC_CTYPE
76 カテゴリに依存するが、以下の名前は全てのロケールで有効である。
77 .sp
78 .nf
79 .\"O   "alnum" \- realizes the \fBisalnum\fP(3) classification function
80 .\"O   "alpha" \- realizes the \fBisalpha\fP(3) classification function
81 .\"O   "blank" \- realizes the \fBisblank\fP(3) classification function
82 .\"O   "cntrl" \- realizes the \fBiscntrl\fP(3) classification function
83 .\"O   "digit" \- realizes the \fBisdigit\fP(3) classification function
84 .\"O   "graph" \- realizes the \fBisgraph\fP(3) classification function
85 .\"O   "lower" \- realizes the \fBislower\fP(3) classification function
86 .\"O   "print" \- realizes the \fBisprint\fP(3) classification function
87 .\"O   "punct" \- realizes the \fBispunct\fP(3) classification function
88 .\"O   "space" \- realizes the \fBisspace\fP(3) classification function
89 .\"O   "upper" \- realizes the \fBisupper\fP(3) classification function
90 .\"O   "xdigit" \- realizes the \fBisxdigit\fP(3) classification function
91   "alnum" \- クラス化関数 \fBisalnum\fP(3) を実現する
92   "alpha" \- クラス化関数 \fBisalpha\fP(3) を実現する
93   "blank" \- クラス化関数 \fBisblank\fP(3) を実現する
94   "cntrl" \- クラス化関数 \fBiscntrl\fP(3) を実現する
95   "digit" \- クラス化関数 \fBisdigit\fP(3) を実現する
96   "graph" \- クラス化関数 \fBisgraph\fP(3) を実現する
97   "lower" \- クラス化関数 \fBislower\fP(3) を実現する
98   "print" \- クラス化関数 \fBisprint\fP(3) を実現する
99   "punct" \- クラス化関数 \fBispunct\fP(3) を実現する
100   "space" \- クラス化関数 \fBisspace\fP(3) を実現する
101   "upper" \- クラス化関数 \fBisupper\fP(3) を実現する
102   "xdigit" \- クラス化関数 \fBisxdigit\fP(3) を実現する
103 .fi
104 .\"O .SH "RETURN VALUE"
105 .SH 返り値
106 .\"O The
107 .\"O .BR wctype ()
108 .\"O function returns a property descriptor
109 .\"O if the
110 .\"O .I name
111 .\"O is valid.
112 .\"O Otherwise it returns
113 .\"O .IR "(wctype_t) 0" .
114 .BR wctype ()
115 関数は、
116 .I name
117 が有効ならば属性記述子を返す。
118 有効でなければ
119 .I "(wctype_t) 0"
120 を返す。
121 .\"O .SH "CONFORMING TO"
122 .SH 準拠
123 C99.
124 .\"O .SH NOTES
125 .SH 注意
126 .\"O The behavior of
127 .\"O .BR wctype ()
128 .\"O depends on the
129 .\"O .B LC_CTYPE
130 .\"O category of the
131 .\"O current locale.
132 .BR wctype ()
133 の動作は、現在のロケールの
134 .B LC_CTYPE
135 カテゴリに依存する。
136 .\"O .SH "SEE ALSO"
137 .SH 関連項目
138 .BR iswctype (3)