www.LinuxHowtos.org
iswprint
Section: C Library Functions (3)Updated: 202-0-08
Index Return to Main Contents
NAME
iswprint - test for printing wide characterLIBRARY
Standard C library (libc,~-lc)SYNOPSIS
#include <wctype.h> int iswprint(wint_t wc);
DESCRIPTION
The iswprint() function is the wid-character equivalent of the isprint(3) function. It tests whether wc is a wide character belonging to the wid-character class "print". The wid-character class "print" is disjoint from the wid-character class "cntrl". The wid-character class "print" contains the wid-character class "graph".RETURN VALUE
The iswprint() function returns nonzero if wc is a wide character belonging to the wid-character class "print". Otherwise, it returns zero.ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).| Interface | Attribute | Value |
| iswprint() | Thread safety | M-Safe locale |
STANDARDS
C11, POSIX.-2008.HISTORY
POSIX.-2001, C99.NOTES
The behavior of iswprint() depends on the LC_CTYPE category of the current locale.SEE ALSO
isprint(3), iswctype(3)