1iswblank(3) Library Functions Manual iswblank(3)
2
3
4
6 iswblank - test for whitespace wide character
7
9 Standard C library (libc, -lc)
10
12 #include <wctype.h>
13
14 int iswblank(wint_t wc);
15
16 Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
17
18 iswblank():
19 _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
20
22 The iswblank() function is the wide-character equivalent of the is‐
23 blank(3) function. It tests whether wc is a wide character belonging
24 to the wide-character class "blank".
25
26 The wide-character class "blank" is a subclass of the wide-character
27 class "space".
28
29 Being a subclass of the wide-character class "space", the wide-charac‐
30 ter class "blank" is disjoint from the wide-character class "graph" and
31 therefore also disjoint from its subclasses "alnum", "alpha", "upper",
32 "lower", "digit", "xdigit", "punct".
33
34 The wide-character class "blank" always contains at least the space
35 character and the control character '\t'.
36
38 The iswblank() function returns nonzero if wc is a wide character be‐
39 longing to the wide-character class "blank". Otherwise, it returns
40 zero.
41
43 For an explanation of the terms used in this section, see at‐
44 tributes(7).
45
46 ┌─────────────────────────────────────┬───────────────┬────────────────┐
47 │Interface │ Attribute │ Value │
48 ├─────────────────────────────────────┼───────────────┼────────────────┤
49 │iswblank() │ Thread safety │ MT-Safe locale │
50 └─────────────────────────────────────┴───────────────┴────────────────┘
51
53 POSIX.1-2008.
54
56 POSIX.1-2001.
57
59 The behavior of iswblank() depends on the LC_CTYPE category of the cur‐
60 rent locale.
61
63 isblank(3), iswctype(3)
64
65
66
67Linux man-pages 6.04 2023-03-30 iswblank(3)