OSDN Git Service

e3a2611f32fbb33102d4352bc337aa59c8dcacb0
[linuxjm/LDP_man-pages.git] / release / 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 .SH 名前
20 iswcntrl \- ワイド制御文字かどうかを調べる
21 .SH 書式
22 .nf
23 .B #include <wctype.h>
24 .sp
25 .BI "int iswcntrl(wint_t " wc );
26 .fi
27 .SH 説明
28 .BR iswcntrl ()
29 関数は、
30 .BR iscntrl (3)
31 に対応するワイド文字関数である。
32 この関数は、\fIwc\fP がワイド文字クラス "cntrl" に属するワイド文字かど
33 うかを調べる。
34 .PP
35 ワイド文字クラス "cntrl" はワイド文字クラス "print" とは共通部分を持た
36 ず、したがってそのサブクラスである "graph", "alpha", "upper", "lower",
37 "digit", "xdigit", "punct" とも共通部分を持たない。
38 .PP
39 unsigned char 型である \fIc\fP に対しては、\fIiscntrl(c)\fP は暗黙的に
40 \fIiswcntrl(btowc(c))\fP を行う。
41 .SH 返り値
42 関数
43 .BR iswcntrl ()
44 は、\fIwc\fP がワイド文字クラス "cntrl" に属する
45 ワイド文字ならば 0 でない値を返す。そうでない場合には 0 を返す。
46 .SH 準拠
47 C99.
48 .SH 注意
49 .BR iswcntrl ()
50 の動作は、現在のロケールの
51 .B LC_CTYPE
52 カテゴリに依存する。
53 .SH 関連項目
54 .BR iscntrl (3),
55 .BR iswctype (3)