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