1iswgraph(3)                Library Functions Manual                iswgraph(3)
2
3
4

NAME

6       iswgraph - test for graphic wide character
7

LIBRARY

9       Standard C library (libc, -lc)
10

SYNOPSIS

12       #include <wctype.h>
13
14       int iswgraph(wint_t wc);
15

DESCRIPTION

17       The  iswgraph()  function  is  the wide-character equivalent of the is‐
18       graph(3) function.  It tests whether wc is a wide  character  belonging
19       to the wide-character class "graph".
20
21       The  wide-character  class  "graph" is a subclass of the wide-character
22       class "print".
23
24       Being a subclass of the wide-character class "print", the  wide-charac‐
25       ter class "graph" is disjoint from the wide-character class "cntrl".
26
27       The  wide-character  class  "graph" is disjoint from the wide-character
28       class "space" and therefore also disjoint from its subclass "blank".
29
30       The wide-character class "graph" contains all the wide characters  from
31       the wide-character class "print" except the space character.  It there‐
32       fore contains the wide-character classes "alnum" and "punct".
33

RETURN VALUE

35       The iswgraph() function returns nonzero if wc is a wide  character  be‐
36       longing  to  the  wide-character  class "graph".  Otherwise, it returns
37       zero.
38

ATTRIBUTES

40       For an  explanation  of  the  terms  used  in  this  section,  see  at‐
41       tributes(7).
42
43       ┌─────────────────────────────────────┬───────────────┬────────────────┐
44Interface                            Attribute     Value          
45       ├─────────────────────────────────────┼───────────────┼────────────────┤
46iswgraph()                           │ Thread safety │ MT-Safe locale │
47       └─────────────────────────────────────┴───────────────┴────────────────┘
48

STANDARDS

50       C11, POSIX.1-2008.
51

HISTORY

53       POSIX.1-2001, C99.
54

NOTES

56       The behavior of iswgraph() depends on the LC_CTYPE category of the cur‐
57       rent locale.
58

SEE ALSO

60       isgraph(3), iswctype(3)
61
62
63
64Linux man-pages 6.04              2023-03-30                       iswgraph(3)
Impressum