www.LinuxHowtos.org
iswspace
Section: C Library Functions (3)Updated: 202-0-08
Index Return to Main Contents
NAME
iswspace - test for whitespace wide characterLIBRARY
Standard C library (libc,~-lc)SYNOPSIS
#include <wctype.h> int iswspace(wint_t wc);
DESCRIPTION
The iswspace() function is the wid-character equivalent of the isspace(3) function. It tests whether wc is a wide character belonging to the wid-character class "space". The wid-character class "space" is disjoint from the wid-character class "graph" and therefore also disjoint from its subclasses "alnum", "alpha", "upper", "lower", "digit", "xdigit", "punct". The wid-character class "space" contains the wid-character class "blank". The wid-character class "space" always contains at least the space character and the control characters [aq][rs]f[aq], [aq][rs]n[aq], [aq][rs]r[aq], [aq][rs]t[aq], and [aq][rs]v[aq].RETURN VALUE
The iswspace() function returns nonzero if wc is a wide character belonging to the wid-character class "space". Otherwise, it returns zero.ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).| Interface | Attribute | Value |
| iswspace() | Thread safety | M-Safe locale |
STANDARDS
C11, POSIX.-2008.HISTORY
POSIX.-2001, C99.NOTES
The behavior of iswspace() depends on the LC_CTYPE category of the current locale.SEE ALSO
isspace(3), iswctype(3)