OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / 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 .\"*******************************************************************
15 .\"
16 .\" This file was generated with po4a. Translate the source file.
17 .\"
18 .\"*******************************************************************
19 .TH WCTYPE 3 1999\-07\-25 GNU "Linux Programmer's Manual"
20 .SH 名前
21 wctype \- ワイド文字の分類
22 .SH 書式
23 .nf
24 \fB#include <wctype.h>\fP
25 .sp
26 \fBwctype_t wctype(const char *\fP\fIname\fP\fB);\fP
27 .fi
28 .SH 説明
29 \fIwctype_t\fP 型は、ワイド文字が持っている、あるいは持っていない属性を表現する。 言い換えると、 \fIwctype_t\fP
30 型はワイド文字のクラスを表現する。 この型は本質的に実装依存であるが、特殊な値 \fI(wctype_t) 0\fP は不正な属性を示す。 0 でない値を持つ
31 \fIwctype_t\fP を \fBiswctype\fP(3)  関数に渡すことによって、 与えられたワイド文字がその属性を持つかどうかを実際に
32 テストすることができる。
33 .PP
34 \fBwctype\fP()  関数は、名前によって与えられる属性を返す。有効な名前の集 合は現在のロケールの \fBLC_CTYPE\fP
35 カテゴリに依存するが、以下の名前は全てのロケールで有効である。
36 .nf
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) を実現する
49 .fi
50 .SH 返り値
51 \fBwctype\fP()  関数は、 \fIname\fP が有効ならば属性記述子を返す。 有効でなければ \fI(wctype_t) 0\fP を返す。
52 .SH 準拠
53 C99.
54 .SH 注意
55 \fBwctype\fP()  の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。
56 .SH 関連項目
57 \fBiswctype\fP(3)