2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
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
12 .TH iswspace 3 (date) "Linux man-pages (unreleased)"
14 iswspace \- test for whitespace wide character
17 .RI ( libc ", " \-lc )
20 .B #include <wctype.h>
22 .BI "int iswspace(wint_t " wc );
27 function is the wide-character equivalent of the
33 belonging to the wide-character class "space".
35 The wide-character class "space" is disjoint from the wide-character class
36 "graph" and therefore also disjoint from its subclasses "alnum", "alpha",
37 "upper", "lower", "digit", "xdigit", "punct".
38 .\" Note: UNIX98 (susv2/xbd/locale.html) says that "space" and "graph" may
39 .\" have characters in common, except U+0020. But C99 (ISO/IEC 9899:1999
40 .\" section 7.25.2.1.10) says that "space" and "graph" are disjoint.
42 The wide-character class "space" contains the wide-character class "blank".
44 The wide-character class "space"
45 always contains at least the space character
46 and the control characters
47 \[aq]\ef\[aq], \[aq]\en\[aq], \[aq]\er\[aq], \[aq]\et\[aq], and \[aq]\ev\[aq].
51 function returns nonzero if
54 belonging to the wide-character class "space".
55 Otherwise, it returns zero.
57 For an explanation of the terms used in this section, see
65 Interface Attribute Value
68 T} Thread safety MT-Safe locale
74 POSIX.1-2001, POSIX.1-2008, C99.