1iswspace(3) Library Functions Manual iswspace(3)
2
3
4
6 iswspace - test for whitespace wide character
7
9 Standard C library (libc, -lc)
10
12 #include <wctype.h>
13
14 int iswspace(wint_t wc);
15
17 The iswspace() function is the wide-character equivalent of the iss‐
18 pace(3) function. It tests whether wc is a wide character belonging to
19 the wide-character class "space".
20
21 The wide-character class "space" is disjoint from the wide-character
22 class "graph" and therefore also disjoint from its subclasses "alnum",
23 "alpha", "upper", "lower", "digit", "xdigit", "punct".
24
25 The wide-character class "space" contains the wide-character class
26 "blank".
27
28 The wide-character class "space" always contains at least the space
29 character and the control characters '\f', '\n', '\r', '\t', and '\v'.
30
32 The iswspace() function returns nonzero if wc is a wide character be‐
33 longing to the wide-character class "space". Otherwise, it returns
34 zero.
35
37 For an explanation of the terms used in this section, see at‐
38 tributes(7).
39
40 ┌─────────────────────────────────────┬───────────────┬────────────────┐
41 │Interface │ Attribute │ Value │
42 ├─────────────────────────────────────┼───────────────┼────────────────┤
43 │iswspace() │ Thread safety │ MT-Safe locale │
44 └─────────────────────────────────────┴───────────────┴────────────────┘
45
47 C11, POSIX.1-2008.
48
50 POSIX.1-2001, C99.
51
53 The behavior of iswspace() depends on the LC_CTYPE category of the cur‐
54 rent locale.
55
57 isspace(3), iswctype(3)
58
59
60
61Linux man-pages 6.04 2023-03-30 iswspace(3)