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 is‐
15 graph(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 be‐
33 longing to the wide-character class "graph". Otherwise, it returns
34 zero.
35
37 For an explanation of the terms used in this section, see at‐
38 tributes(7).
39
40 ┌─────────────────────────────────────┬───────────────┬────────────────┐
41 │Interface │ Attribute │ Value │
42 ├─────────────────────────────────────┼───────────────┼────────────────┤
43 │iswgraph() │ Thread safety │ MT-Safe locale │
44 └─────────────────────────────────────┴───────────────┴────────────────┘
45
47 POSIX.1-2001, POSIX.1-2008, C99.
48
50 The behavior of iswgraph() depends on the LC_CTYPE category of the cur‐
51 rent locale.
52
54 isgraph(3), iswctype(3)
55
57 This page is part of release 5.13 of the Linux man-pages project. A
58 description of the project, information about reporting bugs, and the
59 latest version of this page, can be found at
60 https://www.kernel.org/doc/man-pages/.
61
62
63
64GNU 2021-03-22 ISWGRAPH(3)