1ISWPRINT(3)                Linux Programmer's Manual               ISWPRINT(3)
2
3
4

NAME

6       iswprint - test for printing wide character
7

SYNOPSIS

9       #include <wctype.h>
10
11       int iswprint(wint_t wc);
12

DESCRIPTION

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

RETURN VALUE

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

ATTRIBUTES

30       For  an  explanation  of  the  terms  used  in  this  section,  see at‐
31       tributes(7).
32
33       ┌─────────────────────────────────────┬───────────────┬────────────────┐
34Interface                            Attribute     Value          
35       ├─────────────────────────────────────┼───────────────┼────────────────┤
36iswprint()                           │ Thread safety │ MT-Safe locale │
37       └─────────────────────────────────────┴───────────────┴────────────────┘
38

CONFORMING TO

40       POSIX.1-2001, POSIX.1-2008, C99.
41

NOTES

43       The behavior of iswprint() depends on the LC_CTYPE category of the cur‐
44       rent locale.
45

SEE ALSO

47       isprint(3), iswctype(3)
48

COLOPHON

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)
Impressum