iswgraphのヘルプ・マニュアル
日本語 英語
iswgraph --help
man iswgraph
ISWGRAPH(3) Linux Programmer’s Manual ISWGRAPH(3)
名前
iswgraph - グラフィックワイド文字かどうかを調べる
書式
#include
int iswgraph(wint_t wc);
説明
iswgraph() 関数は、 isgraph(3) に対応するワイド文字関数である。この関数
は、wc がワイド文字クラス "graph" に属するワイド文字かどうかを調べる。
ワイド文字クラス "graph" は、ワイド文字クラス "space" と共通部分を持 た
ない。したがって、そのサブクラスである "blank" とも共通部分を持たない。
ワイド文字クラス "graph" は、ワイド文字クラス "print" のサブクラスで あ
る。
ワ イ ド文字クラス "print" のサブクラスなので、ワイド文字クラス "graph"
はワイド文字クラス "cntrl" とは共通部分を持たない。
ワイド文字クラス "graph" は、ワイド文字クラス "print" に属する文字の う
ち 空白文字を除く全てのワイド文字を含んでいる。したがって、ワイド文字ク
ラス "graph" にはワイド文字クラス "almun" と "punct" が含まれる。
返り値
iswgraph() 関数は、wc がワイド文字クラス "graph" に属するワイド文字なら
ば 0 でない値を返す。そうでなければ 0 を返す。
準拠
C99.
注意
iswgraph() の動作は、現在のロケールの LC_CTYPE カテゴリに依存する。
関連項目
isgraph(3), iswctype(3)
GNU 1999-07-25 ISWGRAPH(3)
ISWGRAPH(3) Linux Programmer’s Manual ISWGRAPH(3)
NAME
iswgraph - test for graphic wide character
SYNOPSIS
#include
int iswgraph(wint_t wc);
DESCRIPTION
The iswgraph() function is the wide-character equivalent of the
isgraph(3) function. It tests whether wc is a wide character belonging
to the wide-character class "graph".
The wide-character class "graph" is a subclass of the wide-character
class "print".
Being a subclass of the wide-character class "print", the wide-charac-
ter class "graph" is disjoint from the wide-character class "cntrl".
The wide-character class "graph" is disjoint from the wide-character
class "space" and therefore also disjoint from its subclass "blank".
The wide-character class "graph" contains all the wide characters from
the wide-character class "print" except the space character. It there-
fore contains the wide-character classes "alnum" and "punct".
RETURN VALUE
The iswgraph() function returns non-zero if wc is a wide character
belonging to the wide-character class "graph". Otherwise it returns
zero.
CONFORMING TO
C99.
NOTES
The behavior of iswgraph() depends on the LC_CTYPE category of the cur-
rent locale.
SEE ALSO
isgraph(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 ISWGRAPH(3)