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
15 isprint(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
26 belonging to the wide-character class "print". Otherwise, it returns
27 zero.
28
30 For an explanation of the terms used in this section, see
31 attributes(7).
32
33 ┌───────────┬───────────────┬────────────────┐
34 │Interface │ Attribute │ Value │
35 ├───────────┼───────────────┼────────────────┤
36 │iswprint() │ Thread safety │ MT-Safe locale │
37 └───────────┴───────────────┴────────────────┘
39 POSIX.1-2001, POSIX.1-2008, C99.
40
42 The behavior of iswprint() depends on the LC_CTYPE category of the cur‐
43 rent locale.
44
46 isprint(3), iswctype(3)
47
49 This page is part of release 4.15 of the Linux man-pages project. A
50 description of the project, information about reporting bugs, and the
51 latest version of this page, can be found at
52 https://www.kernel.org/doc/man-pages/.
53
54
55
56GNU 2015-08-08 ISWPRINT(3)