1ISWSPACE(3) Linux Programmer's Manual ISWSPACE(3)
2
3
4
6 iswspace - test for whitespace wide character
7
9 #include <wctype.h>
10
11 int iswspace(wint_t wc);
12
14 The iswspace() function is the wide-character equivalent of the iss‐
15 pace(3) function. It tests whether wc is a wide character belonging to
16 the wide-character class "space".
17
18 The wide-character class "space" is disjoint from the wide-character
19 class "graph" and therefore also disjoint from its subclasses "alnum",
20 "alpha", "upper", "lower", "digit", "xdigit", "punct".
21
22 The wide-character class "space" contains the wide-character class
23 "blank".
24
25 The wide-character class "space" always contains at least the space
26 character and the control characters '\f', '\n', '\r', '\t', '\v'.
27
29 The iswspace() function returns non-zero if wc is a wide character
30 belonging to the wide-character class "space". Otherwise it returns
31 zero.
32
34 C99.
35
37 The behavior of iswspace() depends on the LC_CTYPE category of the cur‐
38 rent locale.
39
41 isspace(3), iswctype(3)
42
44 This page is part of release 3.22 of the Linux man-pages project. A
45 description of the project, and information about reporting bugs, can
46 be found at http://www.kernel.org/doc/man-pages/.
47
48
49
50GNU 1999-07-25 ISWSPACE(3)