1ISWGRAPH(3) Linux Programmer's Manual ISWGRAPH(3)
2
3
4
6 iswgraph - test for graphic wide character
7
9 #include <wctype.h>
10
11 int iswgraph(wint_t wc);
12
14 The iswgraph() function is the wide-character equivalent of the
15 isgraph(3) function. It tests whether wc is a wide character belonging
16 to the wide-character class "graph".
17
18 The wide-character class "graph" is a subclass of the wide-character
19 class "print".
20
21 Being a subclass of the wide-character class "print", the wide-charac‐
22 ter class "graph" is disjoint from the wide-character class "cntrl".
23
24 The wide-character class "graph" is disjoint from the wide-character
25 class "space" and therefore also disjoint from its subclass "blank".
26
27 The wide-character class "graph" contains all the wide characters from
28 the wide-character class "print" except the space character. It there‐
29 fore contains the wide-character classes "alnum" and "punct".
30
32 The iswgraph() function returns nonzero if wc is a wide character
33 belonging to the wide-character class "graph". Otherwise, it returns
34 zero.
35
37 For an explanation of the terms used in this section, see
38 attributes(7).
39
40 ┌───────────┬───────────────┬────────────────┐
41 │Interface │ Attribute │ Value │
42 ├───────────┼───────────────┼────────────────┤
43 │iswgraph() │ Thread safety │ MT-Safe locale │
44 └───────────┴───────────────┴────────────────┘
46 POSIX.1-2001, POSIX.1-2008, C99.
47
49 The behavior of iswgraph() depends on the LC_CTYPE category of the cur‐
50 rent locale.
51
53 isgraph(3), iswctype(3)
54
56 This page is part of release 5.07 of the Linux man-pages project. A
57 description of the project, information about reporting bugs, and the
58 latest version of this page, can be found at
59 https://www.kernel.org/doc/man-pages/.
60
61
62
63GNU 2015-08-08 ISWGRAPH(3)