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 .\" 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>
20 .TH ISWPUNCT 3 1999-07-25 "GNU" "Linux Programmer's Manual"
23 .\"O iswpunct \- test for punctuation or symbolic wide character
24 iswpunct \- 句読点・記号ワイド文字かどうかを調べる
28 .B #include <wctype.h>
30 .BI "int iswpunct(wint_t " wc );
36 .\"O function is the wide-character equivalent of the
39 .\"O It tests whether \fIwc\fP is a wide character
40 .\"O belonging to the wide-character class "punct".
45 この関数は、\fIwc\fP がワイド文字クラス "punct" に属するワイド文字かど
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" のサブクラスでもある。
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"
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" と共通部分を持たない。
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
70 ワイド文字クラス "graph" のサブクラスなので、ワイド文字クラス "punct"
71 はワイド文字クラス "space" とそのサブクラスである "blank" と共通
73 .\"O .SH "RETURN VALUE"
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.
82 関数は、\fIwc\fP がワイド文字クラス "punct" に属する
83 ワイド文字ならば 0 でない値を返す。そうでなければ 0 を返す。
84 .\"O .SH "CONFORMING TO"
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" は句読点文字と記号文字(数学記号、貨幣記号など)の両