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 nonzero if wc is a wide character
30 belonging to the wide-character class "space". Otherwise, it returns
31 zero.
32
34 For an explanation of the terms used in this section, see
35 attributes(7).
36
37 ┌───────────┬───────────────┬────────────────┐
38 │Interface │ Attribute │ Value │
39 ├───────────┼───────────────┼────────────────┤
40 │iswspace() │ Thread safety │ MT-Safe locale │
41 └───────────┴───────────────┴────────────────┘
43 POSIX.1-2001, POSIX.1-2008, C99.
44
46 The behavior of iswspace() depends on the LC_CTYPE category of the cur‐
47 rent locale.
48
50 isspace(3), iswctype(3)
51
53 This page is part of release 4.15 of the Linux man-pages project. A
54 description of the project, information about reporting bugs, and the
55 latest version of this page, can be found at
56 https://www.kernel.org/doc/man-pages/.
57
58
59
60GNU 2015-08-08 ISWSPACE(3)