OSDN Git Service

ff3a3808ed58b85c64d03a9e05a89383bb56d6e2
[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)