OSDN Git Service

dd44b8c6f45f77b7f1163e5ecd7dbaf1d234aea7
[linuxjm/LDP_man-pages.git] / release / man3 / wctype.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
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.
8 .\" %%%LICENSE_END
9 .\"
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
14 .\"   ISO/IEC 9899:1999
15 .\"
16 .\"*******************************************************************
17 .\"
18 .\" This file was generated with po4a. Translate the source file.
19 .\"
20 .\"*******************************************************************
21 .TH WCTYPE 3 1999\-07\-25 GNU "Linux Programmer's Manual"
22 .SH 名前
23 wctype \- ワイド文字の分類
24 .SH 書式
25 .nf
26 \fB#include <wctype.h>\fP
27 .sp
28 \fBwctype_t wctype(const char *\fP\fIname\fP\fB);\fP
29 .fi
30 .SH 説明
31 \fIwctype_t\fP 型は、ワイド文字が持っている、あるいは持っていない属性を表現する。 言い換えると、 \fIwctype_t\fP
32 型はワイド文字のクラスを表現する。 この型は本質的に実装依存であるが、特殊な値 \fI(wctype_t) 0\fP は不正な属性を示す。 0 でない値を持つ
33 \fIwctype_t\fP を \fBiswctype\fP(3)  関数に渡すことによって、 与えられたワイド文字がその属性を持つかどうかを実際に
34 テストすることができる。
35 .PP
36 \fBwctype\fP()  関数は、名前によって与えられる属性を返す。有効な名前の集 合は現在のロケールの \fBLC_CTYPE\fP
37 カテゴリに依存するが、以下の名前は全てのロケールで有効である。
38 .nf
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) を実現する
51 .fi
52 .SH 返り値
53 \fBwctype\fP()  関数は、 \fIname\fP が有効ならば属性記述子を返す。 有効でなければ \fI(wctype_t) 0\fP を返す。
54 .SH 準拠
55 C99.
56 .SH 注意
57 \fBwctype\fP()  の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。
58 .SH 関連項目
59 \fBiswctype\fP(3)
60 .SH この文書について
61 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
62 である。プロジェクトの説明とバグ報告に関する情報は
63 http://www.kernel.org/doc/man\-pages/ に書かれている。