iswcntrlのヘルプ・マニュアル
日本語 英語
iswcntrl --help
man iswcntrl
ISWCNTRL(3) Linux Programmer’s Manual ISWCNTRL(3)
名前
iswcntrl - ワイド制御文字かどうかを調べる
書式
#include
int iswcntrl(wint_t wc);
説明
iswcntrl() 関数は、 iscntrl(3) に対応するワイド文字関数である。この関数
は、wc がワイド文字クラス "cntrl" に属するワイド文字かどうかを調べる。
ワイド文字クラス "cntrl" はワイド文字クラス "print" とは共通部分を持 た
ず 、したがってそのサブクラスである "graph", "alpha", "upper", "lower",
"digit", "xdigit", "punct" とも共通部分を持たない。
unsigned char 型である c に対しては、iscntrl(c) は 暗 黙 的 に iswcn-
trl(btowc(c)) を行う。
返り値
関 数 iswcntrl() は、wc がワイド文字クラス "cntrl" に属するワイド文字な
らば 0 でない値を返す。そうでない場合には 0 を返す。
準拠
C99.
注意
iswcntrl() の動作は、現在のロケールの LC_CTYPE カテゴリに依存する。
関連項目
iscntrl(3), iswctype(3)
GNU 1999-07-25 ISWCNTRL(3)
ISWCNTRL(3) Linux Programmer’s Manual ISWCNTRL(3)
NAME
iswcntrl - test for control wide character
SYNOPSIS
#include
int iswcntrl(wint_t wc);
DESCRIPTION
The iswcntrl() function is the wide-character equivalent of the iscn-
trl(3) function. It tests whether wc is a wide character belonging to
the wide-character class "cntrl".
The wide-character class "cntrl" is disjoint from the wide-character
class "print" and therefore also disjoint from its subclasses "graph",
"alpha", "upper", "lower", "digit", "xdigit", "punct".
For an unsigned char c, iscntrl(c) implies iswcntrl(btowc(c)), but not
vice versa.
RETURN VALUE
The iswcntrl() function returns non-zero if wc is a wide character
belonging to the wide-character class "cntrl". Otherwise it returns
zero.
CONFORMING TO
C99.
NOTES
The behavior of iswcntrl() depends on the LC_CTYPE category of the cur-
rent locale.
SEE ALSO
iscntrl(3), iswctype(3)
COLOPHON
This page is part of release 3.22 of the Linux man-pages project. A
description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU 1999-07-25 ISWCNTRL(3)