1ISWPRINT(P) POSIX Programmer's Manual ISWPRINT(P)
2
3
4
6 iswprint - test for a printable wide-character code
7
9 #include <wctype.h>
10
11 int iswprint(wint_t wc);
12
13
15 The iswprint() function shall test whether wc is a wide-character code
16 representing a character of class print in the program's current
17 locale; see the Base Definitions volume of IEEE Std 1003.1-2001, Chap‐
18 ter 7, Locale.
19
20 The wc argument is a wint_t, the value of which the application shall
21 ensure is a wide-character code corresponding to a valid character in
22 the current locale, or equal to the value of the macro WEOF. If the
23 argument has any other value, the behavior is undefined.
24
26 The iswprint() function shall return non-zero if wc is a printable
27 wide-character code; otherwise, it shall return 0.
28
30 No errors are defined.
31
32 The following sections are informative.
33
35 None.
36
38 To ensure applications portability, especially across natural lan‐
39 guages, only this function and those listed in the SEE ALSO section
40 should be used for classification of wide-character codes.
41
43 None.
44
46 None.
47
49 iswalnum() , iswalpha() , iswcntrl() , iswctype() , iswdigit() , isw‐
50 graph() , iswlower() , iswpunct() , iswspace() , iswupper() ,
51 iswxdigit() , setlocale() , the Base Definitions volume of
52 IEEE Std 1003.1-2001, Chapter 7, Locale, <wchar.h>, <wctype.h>
53
55 Portions of this text are reprinted and reproduced in electronic form
56 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
57 -- Portable Operating System Interface (POSIX), The Open Group Base
58 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
59 Electrical and Electronics Engineers, Inc and The Open Group. In the
60 event of any discrepancy between this version and the original IEEE and
61 The Open Group Standard, the original IEEE and The Open Group Standard
62 is the referee document. The original Standard can be obtained online
63 at http://www.opengroup.org/unix/online.html .
64
65
66
67IEEE/The Open Group 2003 ISWPRINT(P)