Debian Codegraph @

upstream/debian-unstable/man3/iswblank.3

raw
1 '\" t
2 .\" Copyright, Bruno Haible <[email protected]>
3 .\" Copyright, the authors of the Linux man-pages project
4 .\"
5 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\"
7 .TH iswblank 3 2026-02-08 "Linux man-pages 6.18"
8 .SH NAME
9 iswblank \- test for whitespace wide character
10 .SH LIBRARY
11 Standard C library
12 .RI ( libc ,\~ \-lc )
13 .SH SYNOPSIS
14 .nf
15 .B #include <wctype.h>
16 .P
17 .BI "int iswblank(wint_t " wc );
18 .fi
19 .P
20 .RS -4
21 Feature Test Macro Requirements for glibc (see
22 .BR feature_test_macros (7)):
23 .RE
24 .P
25 .BR iswblank ():
26 .nf
27 _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
28 .fi
29 .SH DESCRIPTION
30 The
31 .BR iswblank ()
32 function is the wide-character equivalent of the
33 .BR isblank (3)
34 function.
35 It tests whether
36 .I wc
37 is a wide character
38 belonging to the wide-character class "blank".
39 .P
40 The wide-character class "blank" is a subclass of the wide-character class
41 "space".
42 .P
43 Being a subclass of the wide-character class "space",
44 the wide-character class "blank" is disjoint from the
45 wide-character class "graph" and therefore also disjoint
46 from its subclasses "alnum", "alpha", "upper", "lower", "digit",
47 "xdigit", "punct".
48 .P
49 The wide-character class "blank" always contains
50 at least the space character
51 and the control character \[aq]\[rs]t\[aq].
52 .SH RETURN VALUE
53 The
54 .BR iswblank ()
55 function returns nonzero
56 if
57 .I wc
58 is a wide character
59 belonging to the wide-character class "blank".
60 Otherwise, it returns zero.
61 .SH ATTRIBUTES
62 For an explanation of the terms used in this section, see
63 .BR attributes (7).
64 .TS
65 allbox;
66 lbx lb lb
67 l l l.
68 Interface Attribute Value
69 T{
70 .na
71 .nh
72 .BR iswblank ()
73 T} Thread safety MT-Safe locale
74 .TE
75 .SH STANDARDS
76 POSIX.1-2008.
77 .SH HISTORY
78 POSIX.1-2001.
79 .SH NOTES
80 The behavior of
81 .BR iswblank ()
82 depends on the
83 .B LC_CTYPE
84 category of the
85 current locale.
86 .SH SEE ALSO
87 .BR isblank (3),
88 .BR iswctype (3)