OSDN Git Service

(split) LDP_man-pages: release ioctl.2 [JM:00378]
[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)