1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
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.
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
14 .\"*******************************************************************
16 .\" This file was generated with po4a. Translate the source file.
18 .\"*******************************************************************
19 .TH WCTYPE 3 1999\-07\-25 GNU "Linux Programmer's Manual"
24 \fB#include <wctype.h>\fP
26 \fBwctype_t wctype(const char *\fP\fIname\fP\fB);\fP
29 \fIwctype_t\fP 型は、ワイド文字が持っている、あるいは持っていない属性を表現する。 言い換えると、 \fIwctype_t\fP
30 型はワイド文字のクラスを表現する。 この型は本質的に実装依存であるが、特殊な値 \fI(wctype_t) 0\fP は不正な属性を示す。 0 でない値を持つ
31 \fIwctype_t\fP を \fBiswctype\fP(3) 関数に渡すことによって、 与えられたワイド文字がその属性を持つかどうかを実際に
34 \fBwctype\fP() 関数は、名前によって与えられる属性を返す。有効な名前の集 合は現在のロケールの \fBLC_CTYPE\fP
35 カテゴリに依存するが、以下の名前は全てのロケールで有効である。
37 "alnum" \- クラス化関数 \fBisalnum\fP(3) を実現する
38 "alpha" \- クラス化関数 \fBisalpha\fP(3) を実現する
39 "blank" \- クラス化関数 \fBisblank\fP(3) を実現する
40 "cntrl" \- クラス化関数 \fBiscntrl\fP(3) を実現する
41 "digit" \- クラス化関数 \fBisdigit\fP(3) を実現する
42 "graph" \- クラス化関数 \fBisgraph\fP(3) を実現する
43 "lower" \- クラス化関数 \fBislower\fP(3) を実現する
44 "print" \- クラス化関数 \fBisprint\fP(3) を実現する
45 "punct" \- クラス化関数 \fBispunct\fP(3) を実現する
46 "space" \- クラス化関数 \fBisspace\fP(3) を実現する
47 "upper" \- クラス化関数 \fBisupper\fP(3) を実現する
48 "xdigit" \- クラス化関数 \fBisxdigit\fP(3) を実現する
51 \fBwctype\fP() 関数は、 \fIname\fP が有効ならば属性記述子を返す。 有効でなければ \fI(wctype_t) 0\fP を返す。
55 \fBwctype\fP() の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。