OSDN Git Service

(split) LDP_man-pages: release ioctl.2 [JM:00378]
[linuxjm/LDP_man-pages.git] / draft / man3 / iswcntrl.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 Wed Sep  1 22:51:30 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH ISWCNTRL 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 .\"O .SH NAME
20 .SH Ì¾Á°
21 .\"O iswcntrl \- test for control wide character
22 iswcntrl \- ¥ï¥¤¥ÉÀ©¸æʸ»ú¤«¤É¤¦¤«¤òÄ´¤Ù¤ë
23 .\"O .SH SYNOPSIS
24 .SH ½ñ¼°
25 .nf
26 .B #include <wctype.h>
27 .sp
28 .BI "int iswcntrl(wint_t " wc );
29 .fi
30 .\"O .SH DESCRIPTION
31 .SH ÀâÌÀ
32 .\"O The
33 .\"O .BR iswcntrl ()
34 .\"O function is the wide-character equivalent of the
35 .\"O .BR iscntrl (3)
36 .\"O function.
37 .\"O It tests whether \fIwc\fP is a wide character
38 .\"O belonging to the wide-character class "cntrl".
39 .BR iswcntrl ()
40 ´Ø¿ô¤Ï¡¢
41 .BR iscntrl (3)
42 ¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
43 ¤³¤Î´Ø¿ô¤Ï¡¢\fIwc\fP ¤¬¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "cntrl" ¤Ë°¤¹¤ë¥ï¥¤¥Éʸ»ú¤«¤É
44 ¤¦¤«¤òÄ´¤Ù¤ë¡£
45 .PP
46 .\"O The wide-character class "cntrl" is disjoint from the wide-character class
47 .\"O "print" and therefore also disjoint from its subclasses "graph", "alpha",
48 .\"O "upper", "lower", "digit", "xdigit", "punct".
49 ¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "cntrl" ¤Ï¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "print" ¤È¤Ï¶¦ÄÌÉôʬ¤ò»ý¤¿
50 ¤º¡¢¤·¤¿¤¬¤Ã¤Æ¤½¤Î¥µ¥Ö¥¯¥é¥¹¤Ç¤¢¤ë "graph", "alpha", "upper", "lower",
51 "digit", "xdigit", "punct" ¤È¤â¶¦ÄÌÉôʬ¤ò»ý¤¿¤Ê¤¤¡£
52 .PP
53 .\"O For an unsigned char \fIc\fP, \fIiscntrl(c)\fP
54 .\"O implies \fIiswcntrl(btowc(c))\fP,
55 .\"O but not vice versa.
56 unsigned char ·¿¤Ç¤¢¤ë \fIc\fP ¤ËÂФ·¤Æ¤Ï¡¢\fIiscntrl(c)\fP ¤Ï°ÅÌÛŪ¤Ë
57 \fIiswcntrl(btowc(c))\fP ¤ò¹Ô¤¦¡£
58 .\"O .SH "RETURN VALUE"
59 .SH ÊÖ¤êÃÍ
60 .\"O The
61 .\"O .BR iswcntrl ()
62 .\"O function returns nonzero if \fIwc\fP is a
63 .\"O wide character belonging to the wide-character class "cntrl".
64 .\"O Otherwise it returns zero.
65 ´Ø¿ô
66 .BR iswcntrl ()
67 ¤Ï¡¢\fIwc\fP ¤¬¥ï¥¤¥Éʸ»ú¥¯¥é¥¹ "cntrl" ¤Ë°¤¹¤ë
68 ¥ï¥¤¥Éʸ»ú¤Ê¤é¤Ð 0 ¤Ç¤Ê¤¤ÃͤòÊÖ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï 0 ¤òÊÖ¤¹¡£
69 .\"O .SH "CONFORMING TO"
70 .SH ½àµò
71 C99.
72 .\"O .SH NOTES
73 .SH Ãí°Õ
74 .\"O The behavior of
75 .\"O .BR iswcntrl ()
76 .\"O depends on the
77 .\"O .B LC_CTYPE
78 .\"O category of the
79 .\"O current locale.
80 .BR iswcntrl ()
81 ¤ÎÆ°ºî¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Î
82 .B LC_CTYPE
83 ¥«¥Æ¥´¥ê¤Ë°Í¸¤¹¤ë¡£
84 .\"O .SH "SEE ALSO"
85 .SH ´ØÏ¢¹àÌÜ
86 .BR iscntrl (3),
87 .BR iswctype (3)