1iswspace(3)                Library Functions Manual                iswspace(3)
2
3
4

NAME

6       iswspace - test for whitespace wide character
7

LIBRARY

9       Standard C library (libc, -lc)
10

SYNOPSIS

12       #include <wctype.h>
13
14       int iswspace(wint_t wc);
15

DESCRIPTION

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

RETURN VALUE

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

ATTRIBUTES

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

STANDARDS

47       C11, POSIX.1-2008.
48

HISTORY

50       POSIX.1-2001, C99.
51

NOTES

53       The behavior of iswspace() depends on  the  LC_CTYPE  category  of  the
54       current locale.
55

SEE ALSO

57       isspace(3), iswctype(3)
58
59
60
61Linux man-pages 6.05              2023-07-20                       iswspace(3)
Impressum