iswblankのヘルプ・マニュアル
日本語 英語
iswblank --help
man iswblank
ISWBLANK(3) Linux Programmer’s Manual ISWBLANK(3)
名前
iswblank - 空白ワイド文字かどうかを調べる
書式
#include
int iswblank(wint_t wc);
glibc 向けの機能検査マクロの要件 (feature_test_macros(7) 参照):
iswblank(): _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE; or cc -std=c99
説明
iswblank() 関数は、 isblank(3) に対応するワイド文字関数である。この関数
は、wc がワイド文字クラス "blank" に属するワイド文字かどうかを調べる。
ワイド文字クラス "blank" はワイド文字クラス "space" のサブクラスであ る
。
ワ イ ド文字クラス "space" のサブクラスなので、ワイド文字クラス "blank"
はワイド文字クラス "graph" とは共通部分を持たず、したがってそのサブクラ
スである "alnum", "alpha", "upper", "lower", "digit", "xdigit", "punct"
とも共通部分を持たない。
ワイド文字クラス "blank" は、少なくとも空白文字と制御文字 '\t' を常に含
む。
返り値
iswblank() 関数は、wc がワイド文字クラス "blank" に属するワイド文字なら
ば 0 でない値を返す。それ以外の場合には 0 を返す。
準拠
POSIX.1-2001.
注意
iswblank() の動作は、現在のロケールの LC_CTYPE カテゴリに依存する。
関連項目
isblank(3), iswctype(3)
GNU 2007-07-26 ISWBLANK(3)
ISWBLANK(3) Linux Programmer’s Manual ISWBLANK(3)
NAME
iswblank - test for whitespace wide character
SYNOPSIS
#include
int iswblank(wint_t wc);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
iswblank(): _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE; or cc -std=c99
DESCRIPTION
The iswblank() function is the wide-character equivalent of the
isblank(3) function. It tests whether wc is a wide character belonging
to the wide-character class "blank".
The wide-character class "blank" is a subclass of the wide-character
class "space".
Being a subclass of the wide-character class "space", the wide-charac-
ter class "blank" is disjoint from the wide-character class "graph" and
therefore also disjoint from its subclasses "alnum", "alpha", "upper",
"lower", "digit", "xdigit", "punct".
The wide-character class "blank" always contains at least the space
character and the control character '\t'.
RETURN VALUE
The iswblank() function returns non-zero if wc is a wide character
belonging to the wide-character class "blank". Otherwise it returns
zero.
CONFORMING TO
POSIX.1-2001.
NOTES
The behavior of iswblank() depends on the LC_CTYPE category of the cur-
rent locale.
SEE ALSO
isblank(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 2007-07-26 ISWBLANK(3)