1ISWPRINT(3) Linux Programmer's Manual ISWPRINT(3)
2
3
4
6 iswprint - test for printing wide character
7
9 #include <wctype.h>
10
11 int iswprint(wint_t wc);
12
14 The iswprint() function is the wide-character equivalent of the is‐
15 print(3) function. It tests whether wc is a wide character belonging
16 to the wide-character class "print".
17
18 The wide-character class "print" is disjoint from the wide-character
19 class "cntrl".
20
21 The wide-character class "print" contains the wide-character class
22 "graph".
23
25 The iswprint() function returns nonzero if wc is a wide character be‐
26 longing to the wide-character class "print". Otherwise, it returns
27 zero.
28
30 For an explanation of the terms used in this section, see at‐
31 tributes(7).
32
33 ┌─────────────────────────────────────┬───────────────┬────────────────┐
34 │Interface │ Attribute │ Value │
35 ├─────────────────────────────────────┼───────────────┼────────────────┤
36 │iswprint() │ Thread safety │ MT-Safe locale │
37 └─────────────────────────────────────┴───────────────┴────────────────┘
38
40 POSIX.1-2001, POSIX.1-2008, C99.
41
43 The behavior of iswprint() depends on the LC_CTYPE category of the cur‐
44 rent locale.
45
47 isprint(3), iswctype(3)
48
50 This page is part of release 5.12 of the Linux man-pages project. A
51 description of the project, information about reporting bugs, and the
52 latest version of this page, can be found at
53 https://www.kernel.org/doc/man-pages/.
54
55
56
57GNU 2021-03-22 ISWPRINT(3)