OSDN Git Service

e18549556b727b970d52b5b3475ebe5424558c77
[linuxjm/LDP_man-pages.git] / draft / man3 / iswdigit.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 Thu Sep  2 21:56:46 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\" Updated Sun Dec 26 19:31:32 JST 1999
18 .\"           by Kentaro Shirakata <argrath@yo.rim.or.jp>
19 .\"
20 .TH ISWDIGIT 3 1999-07-25 "GNU" "Linux Programmer's Manual"
21 .\"O .SH NAME
22 .SH Ì¾Á°
23 .\"O iswdigit \- test for decimal digit wide character
24 iswdigit \- ¿ô»ú¥ï¥¤¥Éʸ»ú¤Ç¤¢¤ë¤«¤É¤¦¤«¤òÄ´¤Ù¤ë
25 .\"O .SH SYNOPSIS
26 .SH ½ñ¼°
27 .nf
28 .B #include <wctype.h>
29 .sp
30 .BI "int iswdigit(wint_t " wc );
31 .fi
32 .\"O .SH DESCRIPTION
33 .SH ÀâÌÀ
34 .\"O The
35 .\"O .BR iswdigit ()
36 .\"O function is the wide-character equivalent of the
37 .\"O .BR isdigit (3)
38 .\"O function.
39 .\"O It tests whether \fIwc\fP is a wide character
40 .\"O belonging to the wide-character class "digit".
41 .BR iswdigit ()
42 ´Ø¿ô¤Ï¡¢
43 .BR isdigit (3)
44 ¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
45 ¤³¤Î´Ø¿ô¤Ï¡¢\fIwc\fP ¤¬¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "digit" ¤Ë°¤¹¤ë¥ï¥¤¥Éʸ»ú¤«¤É
46 ¤¦¤«¤òÄ´¤Ù¤ë¡£
47 .PP
48 .\"O The wide-character class "digit" is a subclass of the wide-character class
49 .\"O "xdigit", and therefore also a subclass
50 .\"O of the wide-character class "alnum", of
51 .\"O the wide-character class "graph" and of the wide-character class "print".
52 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "digit" ¤Ï¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "xdigit" ¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤¢
53 ¤ë¡£¤·¤¿¤¬¤Ã¤Æ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "alnum" ¤ä¡¢¤½¤Î¿Æ¥¯¥é¥¹¤Ç¤¢¤ë "graph",
54 ¤µ¤é¤Ë¤½¤Î¿Æ¥¯¥é¥¹¤Ç¤¢¤ë "print" ¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤â¤¢¤ë¡£
55 .PP
56 .\"O Being a subclass of the wide-character
57 .\"O class "print", the wide-character class
58 .\"O "digit" is disjoint from the wide-character class "cntrl".
59 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "print" ¤Î¥µ¥Ö¥¯¥é¥¹¤Ê¤Î¤Ç¡¢¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "digit"
60 ¤Ï¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "cntrl" ¤È¶¦ÄÌÉôʬ¤ò»ý¤¿¤Ê¤¤¡£
61 .PP
62 .\"O Being a subclass of the wide-character class "graph",
63 .\"O the wide-character class
64 .\"O "digit" is disjoint from the wide-character class "space" and its subclass
65 .\"O "blank".
66 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "graph" ¤Î¥µ¥Ö¥¯¥é¥¹¤Ê¤Î¤Ç¡¢¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "digit"
67 ¤Ï¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "space" ¤È¤½¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤¢¤ë "blank" ¤È¶¦ÄÌ
68 Éôʬ¤ò»ý¤¿¤Ê¤¤¡£
69 .PP
70 .\"O Being a subclass of the wide-character
71 .\"O class "alnum", the wide-character class
72 .\"O "digit" is disjoint from the wide-character class "punct".
73 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "alnum" ¤Î¥µ¥Ö¥¯¥é¥¹¤Ê¤Î¤Ç¡¢¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "digit"
74 ¤Ï¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "punct" ¤È¶¦ÄÌÉôʬ¤ò»ý¤¿¤Ê¤¤¡£
75 .PP
76 .\"O The wide-character class "digit" is
77 .\"O disjoint from the wide-character class
78 .\"O "alpha" and therefore also disjoint from its subclasses "lower", "upper".
79 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "digit" ¤Ï¡¢¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "alpha" ¤È¶¦ÄÌÉôʬ¤ò»ý¤¿
80 ¤Ê¤¤¡£¤·¤¿¤¬¤Ã¤Æ¡¢¤½¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤¢¤ë "lower", "upper" ¤È¤â¶¦ÄÌÉôʬ¤ò
81 »ý¤¿¤Ê¤¤¡£
82 .PP
83 .\"O The wide-character class "digit" always
84 .\"O contains exactly the digits \(aq0\(aq to \(aq9\(aq.
85 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "digit" ¤Ïɬ¤º¡¢\(aq0\(aq ¤«¤é \(aq9\(aq ¤Þ¤Ç¤Î
86 ¿ô»ú¤À¤±¤«¤é¤Ê¤ë¡£
87 .\"O .SH "RETURN VALUE"
88 .SH ÊÖ¤êÃÍ
89 .\"O The
90 .\"O .BR iswdigit ()
91 .\"O function returns nonzero
92 .\"O if \fIwc\fP is a wide character
93 .\"O belonging to the wide-character class "digit".
94 .\"O Otherwise it returns zero.
95 .BR iswdigit ()
96 ´Ø¿ô¤Ï¡¢\fIwc\fP ¤¬¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "digit" ¤Ë°¤¹¤ë¥ï
97 ¥¤¥Éʸ»ú¤Ê¤é¤Ð 0 ¤Ç¤Ê¤¤ÃͤòÊÖ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¤Ë¤Ï 0 ¤òÊÖ¤¹¡£
98 .\"O .SH "CONFORMING TO"
99 .SH ½àµò
100 C99.
101 .\"O .SH NOTES
102 .SH Ãí°Õ
103 .\"O The behavior of
104 .\"O .BR iswdigit ()
105 .\"O depends on the
106 .\"O .B LC_CTYPE
107 .\"O category of the
108 .\"O current locale.
109 .BR iswdigit ()
110 ¤ÎÆ°ºî¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Î
111 .B LC_CTYPE
112 ¥«¥Æ¥´¥ê¤Ë°Í¸¤¹¤ë¡£
113 .\"O .SH "SEE ALSO"
114 .SH ´ØÏ¢¹àÌÜ
115 .BR isdigit (3),
116 .BR iswctype (3)