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 └───────────┴───────────────┴────────────────┘
49 POSIX.1-2001, POSIX.1-2008.
50
52 The behavior of iswblank() depends on the LC_CTYPE category of the cur‐
53 rent locale.
54
56 isblank(3), iswctype(3)
57
59 This page is part of release 5.10 of the Linux man-pages project. A
60 description of the project, information about reporting bugs, and the
61 latest version of this page, can be found at
62 https://www.kernel.org/doc/man-pages/.
63
64
65
66GNU 2019-03-06 ISWBLANK(3)