Debian Codegraph @

upstream/debian-unstable/man3/iswprint.3

raw
1 '\" t
2 .\" Copyright, Bruno Haible <[email protected]>
3 .\" Copyright, the authors of the Linux man-pages project
4 .\"
5 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\"
7 .TH iswprint 3 2026-02-08 "Linux man-pages 6.18"
8 .SH NAME
9 iswprint \- test for printing wide character
10 .SH LIBRARY
11 Standard C library
12 .RI ( libc ,\~ \-lc )
13 .SH SYNOPSIS
14 .nf
15 .B #include <wctype.h>
16 .P
17 .BI "int iswprint(wint_t " wc );
18 .fi
19 .SH DESCRIPTION
20 The
21 .BR iswprint ()
22 function is the wide-character equivalent of the
23 .BR isprint (3)
24 function.
25 It tests whether
26 .I wc
27 is a wide character
28 belonging to the wide-character class "print".
29 .P
30 The wide-character class "print" is disjoint from the wide-character class
31 "cntrl".
32 .P
33 The wide-character class "print" contains the wide-character class "graph".
34 .SH RETURN VALUE
35 The
36 .BR iswprint ()
37 function returns nonzero if
38 .I wc
39 is a
40 wide character belonging to the wide-character class "print".
41 Otherwise, it returns zero.
42 .SH ATTRIBUTES
43 For an explanation of the terms used in this section, see
44 .BR attributes (7).
45 .TS
46 allbox;
47 lbx lb lb
48 l l l.
49 Interface Attribute Value
50 T{
51 .na
52 .nh
53 .BR iswprint ()
54 T} Thread safety MT-Safe locale
55 .TE
56 .SH STANDARDS
57 C11, POSIX.1-2008.
58 .SH HISTORY
59 POSIX.1-2001, C99.
60 .SH NOTES
61 The behavior of
62 .BR iswprint ()
63 depends on the
64 .B LC_CTYPE
65 category of the
66 current locale.
67 .SH SEE ALSO
68 .BR isprint (3),
69 .BR iswctype (3)