1iswprint(3) Library Functions Manual iswprint(3)
2
3
4
6 iswprint - test for printing wide character
7
9 Standard C library (libc, -lc)
10
12 #include <wctype.h>
13
14 int iswprint(wint_t wc);
15
17 The iswprint() function is the wide-character equivalent of the is‐
18 print(3) function. It tests whether wc is a wide character belonging
19 to the wide-character class "print".
20
21 The wide-character class "print" is disjoint from the wide-character
22 class "cntrl".
23
24 The wide-character class "print" contains the wide-character class
25 "graph".
26
28 The iswprint() function returns nonzero if wc is a wide character be‐
29 longing to the wide-character class "print". Otherwise, it returns
30 zero.
31
33 For an explanation of the terms used in this section, see at‐
34 tributes(7).
35
36 ┌─────────────────────────────────────┬───────────────┬────────────────┐
37 │Interface │ Attribute │ Value │
38 ├─────────────────────────────────────┼───────────────┼────────────────┤
39 │iswprint() │ Thread safety │ MT-Safe locale │
40 └─────────────────────────────────────┴───────────────┴────────────────┘
41
43 C11, POSIX.1-2008.
44
46 POSIX.1-2001, C99.
47
49 The behavior of iswprint() depends on the LC_CTYPE category of the
50 current locale.
51
53 isprint(3), iswctype(3)
54
55
56
57Linux man-pages 6.05 2023-07-20 iswprint(3)