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 _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE ||
17 _POSIX_C_SOURCE >= 200112L;
18 or cc -std=c99
19
21 The iswblank() function is the wide-character equivalent of the
22 isblank(3) function. It tests whether wc is a wide character belonging
23 to the wide-character class "blank".
24
25 The wide-character class "blank" is a subclass of the wide-character
26 class "space".
27
28 Being a subclass of the wide-character class "space", the wide-charac‐
29 ter class "blank" is disjoint from the wide-character class "graph" and
30 therefore also disjoint from its subclasses "alnum", "alpha", "upper",
31 "lower", "digit", "xdigit", "punct".
32
33 The wide-character class "blank" always contains at least the space
34 character and the control character '\t'.
35
37 The iswblank() function returns nonzero if wc is a wide character
38 belonging to the wide-character class "blank". Otherwise it returns
39 zero.
40
42 POSIX.1-2001.
43
45 The behavior of iswblank() depends on the LC_CTYPE category of the cur‐
46 rent locale.
47
49 isblank(3), iswctype(3)
50
52 This page is part of release 3.53 of the Linux man-pages project. A
53 description of the project, and information about reporting bugs, can
54 be found at http://www.kernel.org/doc/man-pages/.
55
56
57
58GNU 2010-09-20 ISWBLANK(3)