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
30       belonging 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
35       attributes(7).
36
37       ┌───────────┬───────────────┬────────────────┐
38Interface  Attribute     Value          
39       ├───────────┼───────────────┼────────────────┤
40iswspace() │ Thread safety │ MT-Safe locale │
41       └───────────┴───────────────┴────────────────┘

CONFORMING TO

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

NOTES

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

SEE ALSO

50       isspace(3), iswctype(3)
51

COLOPHON

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