]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/iswblank.3
_exit.2, abs.3, acos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, atoi...
[thirdparty/man-pages.git] / man3 / iswblank.3
CommitLineData
fea681da
MK
1.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2.\"
89e3ffe9 3.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
fea681da
MK
4.\" This is free documentation; you can redistribute it and/or
5.\" modify it under the terms of the GNU General Public License as
6.\" published by the Free Software Foundation; either version 2 of
7.\" the License, or (at your option) any later version.
fe382ebf 8.\" %%%LICENSE_END
fea681da
MK
9.\"
10.\" References consulted:
11.\" GNU glibc-2 source code and manual
12.\" Dinkumware C library reference http://www.dinkumware.com/
008f1ecc 13.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
fea681da
MK
14.\" ISO/IEC 9899:1999
15.\"
460495ca 16.TH ISWBLANK 3 2015-08-08 "GNU" "Linux Programmer's Manual"
fea681da
MK
17.SH NAME
18iswblank \- test for whitespace wide character
19.SH SYNOPSIS
20.nf
21.B #include <wctype.h>
22.sp
23.BI "int iswblank(wint_t " wc );
24.fi
cc4615cc
MK
25.sp
26.in -4n
27Feature Test Macro Requirements for glibc (see
28.BR feature_test_macros (7)):
29.in
30.sp
31.ad l
32.BR iswblank ():
9ef4329a 33.RS
e464f054 34_ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
9ef4329a
MK
35.RE
36.ad
fea681da 37.SH DESCRIPTION
60a90ecd
MK
38The
39.BR iswblank ()
40function is the wide-character equivalent of the
41.BR isblank (3)
42function.
c13182ef 43It tests whether \fIwc\fP is a wide character
d0f17b57 44belonging to the wide-character class "blank".
fea681da 45.PP
d0f17b57 46The wide-character class "blank" is a subclass of the wide-character class
fea681da
MK
47"space".
48.PP
d0f17b57
MK
49Being a subclass of the wide-character class "space",
50the wide-character class "blank" is disjoint from the
51wide-character class "graph" and therefore also disjoint
fbe183be 52from its subclasses "alnum", "alpha", "upper", "lower", "digit",
fea681da
MK
53"xdigit", "punct".
54.PP
d0f17b57 55The wide-character class "blank" always contains
fbe183be 56at least the space character
f81fb444 57and the control character \(aq\\t\(aq.
47297adb 58.SH RETURN VALUE
60a90ecd
MK
59The
60.BR iswblank ()
c7094399 61function returns nonzero
fbe183be 62if \fIwc\fP is a wide character
d0f17b57 63belonging to the wide-character class "blank".
2b9b829d 64Otherwise, it returns zero.
314be66b 65.SH ATTRIBUTES
9fbae350
MK
66For an explanation of the terms used in this section, see
67.BR attributes (7).
68.TS
69allbox;
70lb lb lb
71l l l.
72Interface Attribute Value
73T{
314be66b 74.BR iswblank ()
9fbae350
MK
75T} Thread safety MT-Safe locale
76.TE
47297adb 77.SH CONFORMING TO
91ce2894 78POSIX.1-2001, POSIX.1-2008.
fea681da 79.SH NOTES
d9bfdb9c 80The behavior of
60a90ecd 81.BR iswblank ()
1274071a
MK
82depends on the
83.B LC_CTYPE
84category of the
fea681da 85current locale.
47297adb 86.SH SEE ALSO
e37e3282
MK
87.BR isblank (3),
88.BR iswctype (3)