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 Sat Oct 23 20:01:16 JST 1999
16 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
18 .TH WCTYPE 3 1999-07-25 "GNU" "Linux Programmer's Manual"
21 .\"O wctype \- wide-character classification
22 wctype \- ¥ï¥¤¥Éʸ»ú¤ÎʬÎà
26 .B #include <wctype.h>
28 .BI "wctype_t wctype(const char *" name );
32 .\"O The \fBwctype_t\fP type represents a property which a wide character may or
34 .\"O In other words, it represents a class of wide characters.
35 \fBwctype_t\fP ·¿¤Ï¡¢¥ï¥¤¥Éʸ»ú¤¬»ý¤Ã¤Æ¤¤¤ë¡¢¤¢¤ë¤¤¤Ï»ý¤Ã¤Æ¤¤¤Ê¤¤Â°À
36 ¤òɽ¸½¤¹¤ë¡£¸À¤¤´¹¤¨¤ë¤È¡¢\fBwctype_t\fP ·¿¤Ï¥ï¥¤¥Éʸ»ú¤Î¥¯¥é¥¹¤ò
38 .\"O This type's nature is implementation-dependent, but the special value
39 .\"O \fI(wctype_t) 0\fP denotes an invalid property.
40 .\"O Nonzero \fBwctype_t\fP values
41 .\"O can be passed to the
44 .\"O to actually test whether a given
45 .\"O wide character has the property.
46 ¤³¤Î·¿¤ÏËܼÁŪ¤Ë¼ÂÁõ°Í¸¤Ç¤¢¤ë¤¬¡¢Æüì¤ÊÃÍ \fI(wctype_t) 0\fP ¤ÏÉÔÀµ¤Ê
47 °À¤ò¼¨¤¹¡£0 ¤Ç¤Ê¤¤Ãͤò»ý¤Ä \fBwctype_t\fP ¤ò
50 ¤¹¤³¤È¤Ë¤è¤Ã¤Æ¡¢Í¿¤¨¤é¤ì¤¿¥ï¥¤¥Éʸ»ú¤¬¤½¤Î°À¤ò»ý¤Ä¤«¤É¤¦¤«¤ò¼ÂºÝ¤Ë¥Æ
51 ¥¹¥È¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
55 .\"O function returns a property, given by its name.
57 .\"O valid names depends on the
59 .\"O category of the current locale, but the
60 .\"O following names are valid in all locales.
62 ´Ø¿ô¤Ï¡¢Ì¾Á°¤Ë¤è¤Ã¤ÆÍ¿¤¨¤é¤ì¤ë°À¤òÊÖ¤¹¡£Í¸ú¤Ê̾Á°¤Î½¸
65 ¥«¥Æ¥´¥ê¤Ë°Í¸¤¹¤ë¤¬¡¢°Ê²¼¤Î̾Á°¤ÏÁ´¤Æ¤Î¥í¥±¡¼¥ë¤Ç͸ú¤Ç¤¢¤ë¡£
68 .\"O "alnum" \- realizes the \fBisalnum\fP(3) classification function
69 .\"O "alpha" \- realizes the \fBisalpha\fP(3) classification function
70 .\"O "blank" \- realizes the \fBisblank\fP(3) classification function
71 .\"O "cntrl" \- realizes the \fBiscntrl\fP(3) classification function
72 .\"O "digit" \- realizes the \fBisdigit\fP(3) classification function
73 .\"O "graph" \- realizes the \fBisgraph\fP(3) classification function
74 .\"O "lower" \- realizes the \fBislower\fP(3) classification function
75 .\"O "print" \- realizes the \fBisprint\fP(3) classification function
76 .\"O "punct" \- realizes the \fBispunct\fP(3) classification function
77 .\"O "space" \- realizes the \fBisspace\fP(3) classification function
78 .\"O "upper" \- realizes the \fBisupper\fP(3) classification function
79 .\"O "xdigit" \- realizes the \fBisxdigit\fP(3) classification function
80 "alnum" \- ¥¯¥é¥¹²½´Ø¿ô \fBisalnum\fP(3) ¤ò¼Â¸½¤¹¤ë
81 "alpha" \- ¥¯¥é¥¹²½´Ø¿ô \fBisalpha\fP(3) ¤ò¼Â¸½¤¹¤ë
82 "blank" \- ¥¯¥é¥¹²½´Ø¿ô \fBisblank\fP(3) ¤ò¼Â¸½¤¹¤ë
83 "cntrl" \- ¥¯¥é¥¹²½´Ø¿ô \fBiscntrl\fP(3) ¤ò¼Â¸½¤¹¤ë
84 "digit" \- ¥¯¥é¥¹²½´Ø¿ô \fBisdigit\fP(3) ¤ò¼Â¸½¤¹¤ë
85 "graph" \- ¥¯¥é¥¹²½´Ø¿ô \fBisgraph\fP(3) ¤ò¼Â¸½¤¹¤ë
86 "lower" \- ¥¯¥é¥¹²½´Ø¿ô \fBislower\fP(3) ¤ò¼Â¸½¤¹¤ë
87 "print" \- ¥¯¥é¥¹²½´Ø¿ô \fBisprint\fP(3) ¤ò¼Â¸½¤¹¤ë
88 "punct" \- ¥¯¥é¥¹²½´Ø¿ô \fBispunct\fP(3) ¤ò¼Â¸½¤¹¤ë
89 "space" \- ¥¯¥é¥¹²½´Ø¿ô \fBisspace\fP(3) ¤ò¼Â¸½¤¹¤ë
90 "upper" \- ¥¯¥é¥¹²½´Ø¿ô \fBisupper\fP(3) ¤ò¼Â¸½¤¹¤ë
91 "xdigit" \- ¥¯¥é¥¹²½´Ø¿ô \fBisxdigit\fP(3) ¤ò¼Â¸½¤¹¤ë
93 .\"O .SH "RETURN VALUE"
97 .\"O function returns a property descriptor
98 .\"O if the \fIname\fP is valid.
99 .\"O Otherwise it returns \fI(wctype_t) 0\fP.
101 ´Ø¿ô¤Ï¡¢\fIname\fP ¤¬Í¸ú¤Ê¤é¤Ð°Àµ½Ò»Ò¤òÊÖ¤¹¡£
102 ͸ú¤Ç¤Ê¤±¤ì¤Ð \fI(wctype_t) 0\fP ¤òÊÖ¤¹¡£
103 .\"O .SH "CONFORMING TO"
115 ¤ÎÆ°ºî¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Î