1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
10 .\" References consulted:
11 .\" GNU glibc-2 source code and manual
12 .\" Dinkumware C library reference http://www.dinkumware.com/
13 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
16 .\"*******************************************************************
18 .\" This file was generated with po4a. Translate the source file.
20 .\"*******************************************************************
21 .TH WCTYPE 3 1999\-07\-25 GNU "Linux Programmer's Manual"
26 \fB#include <wctype.h>\fP
28 \fBwctype_t wctype(const char *\fP\fIname\fP\fB);\fP
31 \fIwctype_t\fP 型は、ワイド文字が持っている、あるいは持っていない属性を表現する。 言い換えると、 \fIwctype_t\fP
32 型はワイド文字のクラスを表現する。 この型は本質的に実装依存であるが、特殊な値 \fI(wctype_t) 0\fP は不正な属性を示す。 0 でない値を持つ
33 \fIwctype_t\fP を \fBiswctype\fP(3) 関数に渡すことによって、 与えられたワイド文字がその属性を持つかどうかを実際に
36 \fBwctype\fP() 関数は、名前によって与えられる属性を返す。有効な名前の集 合は現在のロケールの \fBLC_CTYPE\fP
37 カテゴリに依存するが、以下の名前は全てのロケールで有効である。
39 "alnum" \- クラス化関数 \fBisalnum\fP(3) を実現する
40 "alpha" \- クラス化関数 \fBisalpha\fP(3) を実現する
41 "blank" \- クラス化関数 \fBisblank\fP(3) を実現する
42 "cntrl" \- クラス化関数 \fBiscntrl\fP(3) を実現する
43 "digit" \- クラス化関数 \fBisdigit\fP(3) を実現する
44 "graph" \- クラス化関数 \fBisgraph\fP(3) を実現する
45 "lower" \- クラス化関数 \fBislower\fP(3) を実現する
46 "print" \- クラス化関数 \fBisprint\fP(3) を実現する
47 "punct" \- クラス化関数 \fBispunct\fP(3) を実現する
48 "space" \- クラス化関数 \fBisspace\fP(3) を実現する
49 "upper" \- クラス化関数 \fBisupper\fP(3) を実現する
50 "xdigit" \- クラス化関数 \fBisxdigit\fP(3) を実現する
53 \fBwctype\fP() 関数は、 \fIname\fP が有効ならば属性記述子を返す。 有効でなければ \fI(wctype_t) 0\fP を返す。
57 \fBwctype\fP() の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。
61 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
62 である。プロジェクトの説明とバグ報告に関する情報は
63 http://www.kernel.org/doc/man\-pages/ に書かれている。