1ISWSPACE(3)                Linux Programmer's Manual               ISWSPACE(3)
2
3
4

NAME

6       iswspace - test for whitespace wide character
7

SYNOPSIS

9       #include <wctype.h>
10
11       int iswspace(wint_t wc);
12

DESCRIPTION

14       The  iswspace()  function  is the wide-character equivalent of the iss‐
15       pace(3) function.  It tests whether wc is a wide character belonging to
16       the wide-character class "space".
17
18       The  wide-character  class  "space" is disjoint from the wide-character
19       class "graph" and therefore also disjoint from its subclasses  "alnum",
20       "alpha", "upper", "lower", "digit", "xdigit", "punct".
21
22       The  wide-character  class  "space"  contains  the wide-character class
23       "blank".
24
25       The wide-character class "space" always contains  at  least  the  space
26       character and the control characters '\f', '\n', '\r', '\t', '\v'.
27

RETURN VALUE

29       The  iswspace()  function returns nonzero if wc is a wide character be‐
30       longing to the wide-character class  "space".   Otherwise,  it  returns
31       zero.
32

ATTRIBUTES

34       For  an  explanation  of  the  terms  used  in  this  section,  see at‐
35       tributes(7).
36
37       ┌─────────────────────────────────────┬───────────────┬────────────────┐
38Interface                            Attribute     Value          
39       ├─────────────────────────────────────┼───────────────┼────────────────┤
40iswspace()                           │ Thread safety │ MT-Safe locale │
41       └─────────────────────────────────────┴───────────────┴────────────────┘
42

CONFORMING TO

44       POSIX.1-2001, POSIX.1-2008, C99.
45

NOTES

47       The behavior of iswspace() depends on the LC_CTYPE category of the cur‐
48       rent locale.
49

SEE ALSO

51       isspace(3), iswctype(3)
52

COLOPHON

54       This  page  is  part of release 5.13 of the Linux man-pages project.  A
55       description of the project, information about reporting bugs,  and  the
56       latest     version     of     this    page,    can    be    found    at
57       https://www.kernel.org/doc/man-pages/.
58
59
60
61GNU                               2021-03-22                       ISWSPACE(3)
Impressum