1ISWBLANK(3) Linux Programmer's Manual ISWBLANK(3)
2
3
4
6 iswblank - test for whitespace wide character
7
9 #include <wctype.h>
10
11 int iswblank(wint_t wc);
12
13 Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
14
15 iswblank():
16 _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
17
19 The iswblank() function is the wide-character equivalent of the is‐
20 blank(3) function. It tests whether wc is a wide character belonging
21 to the wide-character class "blank".
22
23 The wide-character class "blank" is a subclass of the wide-character
24 class "space".
25
26 Being a subclass of the wide-character class "space", the wide-charac‐
27 ter class "blank" is disjoint from the wide-character class "graph" and
28 therefore also disjoint from its subclasses "alnum", "alpha", "upper",
29 "lower", "digit", "xdigit", "punct".
30
31 The wide-character class "blank" always contains at least the space
32 character and the control character '\t'.
33
35 The iswblank() function returns nonzero if wc is a wide character be‐
36 longing to the wide-character class "blank". Otherwise, it returns
37 zero.
38
40 For an explanation of the terms used in this section, see at‐
41 tributes(7).
42
43 ┌─────────────────────────────────────┬───────────────┬────────────────┐
44 │Interface │ Attribute │ Value │
45 ├─────────────────────────────────────┼───────────────┼────────────────┤
46 │iswblank() │ Thread safety │ MT-Safe locale │
47 └─────────────────────────────────────┴───────────────┴────────────────┘
48
50 POSIX.1-2001, POSIX.1-2008.
51
53 The behavior of iswblank() depends on the LC_CTYPE category of the cur‐
54 rent locale.
55
57 isblank(3), iswctype(3)
58
60 This page is part of release 5.13 of the Linux man-pages project. A
61 description of the project, information about reporting bugs, and the
62 latest version of this page, can be found at
63 https://www.kernel.org/doc/man-pages/.
64
65
66
67GNU 2021-03-22 ISWBLANK(3)