]>
Commit | Line | Data |
---|---|---|
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 | .\" | |
97986708 | 16 | .TH ISWBLANK 3 2016-03-15 "GNU" "Linux Programmer's Manual" |
fea681da MK |
17 | .SH NAME |
18 | iswblank \- test for whitespace wide character | |
19 | .SH SYNOPSIS | |
20 | .nf | |
21 | .B #include <wctype.h> | |
68e4db0a | 22 | .PP |
fea681da MK |
23 | .BI "int iswblank(wint_t " wc ); |
24 | .fi | |
68e4db0a | 25 | .PP |
cc4615cc MK |
26 | .in -4n |
27 | Feature Test Macro Requirements for glibc (see | |
28 | .BR feature_test_macros (7)): | |
29 | .in | |
68e4db0a | 30 | .PP |
cc4615cc MK |
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 |
38 | The |
39 | .BR iswblank () | |
40 | function is the wide-character equivalent of the | |
41 | .BR isblank (3) | |
42 | function. | |
c13182ef | 43 | It tests whether \fIwc\fP is a wide character |
d0f17b57 | 44 | belonging to the wide-character class "blank". |
fea681da | 45 | .PP |
d0f17b57 | 46 | The wide-character class "blank" is a subclass of the wide-character class |
fea681da MK |
47 | "space". |
48 | .PP | |
d0f17b57 MK |
49 | Being a subclass of the wide-character class "space", |
50 | the wide-character class "blank" is disjoint from the | |
51 | wide-character class "graph" and therefore also disjoint | |
fbe183be | 52 | from its subclasses "alnum", "alpha", "upper", "lower", "digit", |
fea681da MK |
53 | "xdigit", "punct". |
54 | .PP | |
d0f17b57 | 55 | The wide-character class "blank" always contains |
fbe183be | 56 | at least the space character |
f81fb444 | 57 | and the control character \(aq\\t\(aq. |
47297adb | 58 | .SH RETURN VALUE |
60a90ecd MK |
59 | The |
60 | .BR iswblank () | |
c7094399 | 61 | function returns nonzero |
fbe183be | 62 | if \fIwc\fP is a wide character |
d0f17b57 | 63 | belonging to the wide-character class "blank". |
2b9b829d | 64 | Otherwise, it returns zero. |
314be66b | 65 | .SH ATTRIBUTES |
9fbae350 MK |
66 | For an explanation of the terms used in this section, see |
67 | .BR attributes (7). | |
68 | .TS | |
69 | allbox; | |
70 | lb lb lb | |
71 | l l l. | |
72 | Interface Attribute Value | |
73 | T{ | |
314be66b | 74 | .BR iswblank () |
9fbae350 MK |
75 | T} Thread safety MT-Safe locale |
76 | .TE | |
47297adb | 77 | .SH CONFORMING TO |
91ce2894 | 78 | POSIX.1-2001, POSIX.1-2008. |
fea681da | 79 | .SH NOTES |
d9bfdb9c | 80 | The behavior of |
60a90ecd | 81 | .BR iswblank () |
1274071a MK |
82 | depends on the |
83 | .B LC_CTYPE | |
84 | category of the | |
fea681da | 85 | current locale. |
47297adb | 86 | .SH SEE ALSO |
e37e3282 MK |
87 | .BR isblank (3), |
88 | .BR iswctype (3) |