OSDN Git Service

3bd6e4ec862d518b0cb6bc740e2b923855b882ce
[linuxjm/LDP_man-pages.git] / draft / man3 / iswpunct.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 Sun Sep  5 21:47:49 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\" Updated Sun Dec 26 19:31:52 JST 1999
18 .\"           by Kentaro Shirakata <argrath@yo.rim.or.jp>
19 .\"
20 .TH ISWPUNCT 3 1999-07-25 "GNU" "Linux Programmer's Manual"
21 .\"O .SH NAME
22 .SH 名前
23 .\"O iswpunct \- test for punctuation or symbolic wide character
24 iswpunct \- 句読点・記号ワイド文字かどうかを調べる
25 .\"O .SH SYNOPSIS
26 .SH 書式
27 .nf
28 .B #include <wctype.h>
29 .sp
30 .BI "int iswpunct(wint_t " wc );
31 .fi
32 .\"O .SH DESCRIPTION
33 .SH 説明
34 .\"O The
35 .\"O .BR iswpunct ()
36 .\"O function is the wide-character equivalent of the
37 .\"O .BR ispunct (3)
38 .\"O function.
39 .\"O It tests whether \fIwc\fP is a wide character
40 .\"O belonging to the wide-character class "punct".
41 .BR iswpunct ()
42 関数は、
43 .BR ispunct (3)
44 に対応するワイド文字関数である。
45 この関数は、\fIwc\fP がワイド文字クラス "punct" に属するワイド文字かど
46 うかを調べる。
47 .PP
48 .\"O The wide-character class "punct" is a subclass of the wide-character class
49 .\"O "graph", and therefore also a subclass of the wide-character class "print".
50 ワイド文字クラス "punct" はワイド文字クラス "graph" のサブクラスである。
51 したがって、ワイド文字クラス "print" のサブクラスでもある。
52 .PP
53 .\"O The wide-character class "punct" is disjoint from the wide-character class
54 .\"O "alnum" and therefore also disjoint from its subclasses "alpha", "upper",
55 .\"O "lower", "digit", "xdigit".
56 ワイド文字クラス "punct" はワイド文字クラス "alnum" と共通部分を持たな
57 い。したがって、そのサブクラスである "alpha", "upper", "lower", "digit", "xdigit"
58 とも共通部分を持たない。
59 .PP
60 .\"O Being a subclass of the wide-character class "print",
61 .\"O the wide-character class
62 .\"O "punct" is disjoint from the wide-character class "cntrl".
63 ワイド文字 "print" のサブクラスなので、ワイド文字クラス "punct" は
64 ワイド文字クラス "cntrl" と共通部分を持たない。
65 .PP
66 .\"O Being a subclass of the wide-character class "graph",
67 .\"O the wide-character class
68 .\"O "punct" is disjoint from the wide-character class "space" and its subclass
69 .\"O "blank".
70 ワイド文字クラス "graph" のサブクラスなので、ワイド文字クラス "punct"
71 はワイド文字クラス "space" とそのサブクラスである "blank" と共通
72 部分を持たない。
73 .\"O .SH "RETURN VALUE"
74 .SH 返り値
75 .\"O The
76 .\"O .BR iswpunct ()
77 .\"O function returns nonzero
78 .\"O if \fIwc\fP is a wide character
79 .\"O belonging to the wide-character class "punct".
80 .\"O Otherwise it returns zero.
81 .BR iswpunct ()
82 関数は、\fIwc\fP がワイド文字クラス "punct" に属する
83 ワイド文字ならば 0 でない値を返す。そうでなければ 0 を返す。
84 .\"O .SH "CONFORMING TO"
85 .SH 準拠
86 C99.
87 .\"O .SH NOTES
88 .SH 注意
89 .\"O The behavior of
90 .\"O .BR iswpunct ()
91 .\"O depends on the
92 .\"O .B LC_CTYPE
93 .\"O category of the
94 .\"O current locale.
95 .BR iswpunct ()
96 の動作は、現在のロケールの
97 .B LC_CTYPE
98 カテゴリに依存する。
99 .PP
100 .\"O This function's name is a misnomer when dealing with Unicode characters,
101 .\"O because the wide-character class "punct" contains both punctuation characters
102 .\"O and symbol (math, currency, etc.) characters.
103 この関数の名前は Unicode 文字を扱う際には正しくない。なぜなら、ワイド
104 文字クラス "punct" は句読点文字と記号文字(数学記号、貨幣記号など)の両
105 方を含むからである。
106 .\"O .SH "SEE ALSO"
107 .SH 関連項目
108 .BR ispunct (3),
109 .BR iswctype (3)