Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
iswspace.c File Reference
#include <wchar.h>
#include <wctype.h>
Include dependency graph for iswspace.c:

Go to the source code of this file.

Functions

int iswspace (wint_t wc)
 

Function Documentation

◆ iswspace()

int iswspace ( wint_t  wc)

Definition at line 8 of file iswspace.c.

9 {
10  static const wchar_t spaces[] = {' ', '\t', '\n', '\r', 11, 12, 0x0085, 0x2000,
11  0x2001, 0x2002, 0x2003, 0x2004, 0x2005, 0x2006, 0x2008, 0x2009,
12  0x200a, 0x2028, 0x2029, 0x205f, 0x3000, 0};
13  return wc && wcschr(spaces, (wchar_t)wc);
14 }
wchar_t * wcschr(const wchar_t *, wchar_t)

References wcschr().

Referenced by iswctype(), and iswgraph().

Here is the caller graph for this function: