OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[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  2010-09-20 "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 .RS
32 _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
33 _POSIX_C_SOURCE\ >=\ 200112L;
34 .br
35 or
36 .I cc\ -std=c99
37 .RE
38 .ad
39 .SH DESCRIPTION
40 The
41 .BR iswblank ()
42 function is the wide-character equivalent of the
43 .BR isblank (3)
44 function.
45 It tests whether \fIwc\fP is a wide character
46 belonging to the wide-character class "blank".
47 .PP
48 The wide-character class "blank" is a subclass of the wide-character class
49 "space".
50 .PP
51 Being a subclass of the wide-character class "space",
52 the wide-character class "blank" is disjoint from the
53 wide-character class "graph" and therefore also disjoint
54 from its subclasses "alnum", "alpha", "upper", "lower", "digit",
55 "xdigit", "punct".
56 .PP
57 The wide-character class "blank" always contains
58 at least the space character
59 and the control character \(aq\\t\(aq.
60 .SH "RETURN VALUE"
61 The
62 .BR iswblank ()
63 function returns nonzero
64 if \fIwc\fP is a wide character
65 belonging to the wide-character class "blank".
66 Otherwise it returns zero.
67 .SH "CONFORMING TO"
68 POSIX.1-2001.
69 .SH NOTES
70 The behavior of
71 .BR iswblank ()
72 depends on the
73 .B LC_CTYPE
74 category of the
75 current locale.
76 .SH "SEE ALSO"
77 .BR isblank (3),
78 .BR iswctype (3)