OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / original / man3 / iswblank.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" References consulted:
9 .\"   GNU glibc-2 source code and manual
10 .\"   Dinkumware C library reference http://www.dinkumware.com/
11 .\"   OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
12 .\"   ISO/IEC 9899:1999
13 .\"
14 .TH ISWBLANK 3  2007-07-26 "GNU" "Linux Programmer's Manual"
15 .SH NAME
16 iswblank \- test for whitespace wide character
17 .SH SYNOPSIS
18 .nf
19 .B #include <wctype.h>
20 .sp
21 .BI "int iswblank(wint_t " wc );
22 .fi
23 .sp
24 .in -4n
25 Feature Test Macro Requirements for glibc (see
26 .BR feature_test_macros (7)):
27 .in
28 .sp
29 .ad l
30 .BR iswblank ():
31 _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
32 .I cc\ -std=c99
33 .ad b
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 .PP
43 The wide-character class "blank" is a subclass of the wide-character class
44 "space".
45 .PP
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 .PP
52 The wide-character class "blank" always contains
53 at least the space character
54 and the control character \(aq\\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 "CONFORMING TO"
63 POSIX.1-2001.
64 .SH NOTES
65 The behavior of
66 .BR iswblank ()
67 depends on the
68 .B LC_CTYPE
69 category of the
70 current locale.
71 .SH "SEE ALSO"
72 .BR isblank (3),
73 .BR iswctype (3)