Debian Codegraph @

upstream/debian-trixie/man3/iswprint.3

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