OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / LDP_man-pages / release / 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 .SH 名前
20 wctype \- ワイド文字の分類
21 .SH 書式
22 .nf
23 .B #include <wctype.h>
24 .sp
25 .BI "wctype_t wctype(const char *" name );
26 .fi
27 .SH 説明
28 .I wctype_t
29 型は、ワイド文字が持っている、あるいは持っていない属性を表現する。
30 言い換えると、
31 .I wctype_t
32 型はワイド文字のクラスを表現する。
33 この型は本質的に実装依存であるが、特殊な値
34 .I "(wctype_t) 0"
35 は不正な属性を示す。
36 0 でない値を持つ
37 .I wctype_t
38
39 .BR iswctype (3)
40 関数に渡
41 すことによって、与えられたワイド文字がその属性を持つかどうかを実際にテ
42 ストすることができる。
43 x.PP
44 .BR wctype ()
45 関数は、名前によって与えられる属性を返す。有効な名前の集
46 合は現在のロケールの
47 .B LC_CTYPE
48 カテゴリに依存するが、以下の名前は全てのロケールで有効である。
49 .sp
50 .nf
51   "alnum" \- クラス化関数 \fBisalnum\fP(3) を実現する
52   "alpha" \- クラス化関数 \fBisalpha\fP(3) を実現する
53   "blank" \- クラス化関数 \fBisblank\fP(3) を実現する
54   "cntrl" \- クラス化関数 \fBiscntrl\fP(3) を実現する
55   "digit" \- クラス化関数 \fBisdigit\fP(3) を実現する
56   "graph" \- クラス化関数 \fBisgraph\fP(3) を実現する
57   "lower" \- クラス化関数 \fBislower\fP(3) を実現する
58   "print" \- クラス化関数 \fBisprint\fP(3) を実現する
59   "punct" \- クラス化関数 \fBispunct\fP(3) を実現する
60   "space" \- クラス化関数 \fBisspace\fP(3) を実現する
61   "upper" \- クラス化関数 \fBisupper\fP(3) を実現する
62   "xdigit" \- クラス化関数 \fBisxdigit\fP(3) を実現する
63 .fi
64 .SH 返り値
65 .BR wctype ()
66 関数は、
67 .I name
68 が有効ならば属性記述子を返す。
69 有効でなければ
70 .I "(wctype_t) 0"
71 を返す。
72 .SH 準拠
73 C99.
74 .SH 注意
75 .BR wctype ()
76 の動作は、現在のロケールの
77 .B LC_CTYPE
78 カテゴリに依存する。
79 .SH 関連項目
80 .BR iswctype (3)