]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/iswprint.3
iswprint.3: Add LIBRARY section (libc)
[thirdparty/man-pages.git] / man3 / iswprint.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
4 .\"
5 .\" References consulted:
6 .\" GNU glibc-2 source code and manual
7 .\" Dinkumware C library reference http://www.dinkumware.com/
8 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
9 .\" ISO/IEC 9899:1999
10 .\"
11 .TH ISWPRINT 3 2021-03-22 "GNU" "Linux Programmer's Manual"
12 .SH NAME
13 iswprint \- test for printing wide character
14 .SH LIBRARY
15 Standard C library
16 .RI ( libc ", " -lc )
17 .SH SYNOPSIS
18 .nf
19 .B #include <wctype.h>
20 .PP
21 .BI "int iswprint(wint_t " wc );
22 .fi
23 .SH DESCRIPTION
24 The
25 .BR iswprint ()
26 function is the wide-character equivalent of the
27 .BR isprint (3)
28 function.
29 It tests whether
30 .I wc
31 is a wide character
32 belonging to the wide-character class "print".
33 .PP
34 The wide-character class "print" is disjoint from the wide-character class
35 "cntrl".
36 .PP
37 The wide-character class "print" contains the wide-character class "graph".
38 .SH RETURN VALUE
39 The
40 .BR iswprint ()
41 function returns nonzero if
42 .I wc
43 is a
44 wide character belonging to the wide-character class "print".
45 Otherwise, it returns zero.
46 .SH ATTRIBUTES
47 For an explanation of the terms used in this section, see
48 .BR attributes (7).
49 .ad l
50 .nh
51 .TS
52 allbox;
53 lbx lb lb
54 l l l.
55 Interface Attribute Value
56 T{
57 .BR iswprint ()
58 T} Thread safety MT-Safe locale
59 .TE
60 .hy
61 .ad
62 .sp 1
63 .SH CONFORMING TO
64 POSIX.1-2001, POSIX.1-2008, 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)