Debian Codegraph @

upstream/debian-trixie/man3/iswblank.3

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