ReactOS 0.4.16-dev-1067-ge98bba2
wctype.cpp File Reference
#include <corecrt.h>
#include <string.h>
#include <wctype.h>
Include dependency graph for wctype.cpp:

Go to the source code of this file.

Classes

struct  wctab
 

Functions

wctype_t __cdecl wctype (char const *const name)
 

Variables

static struct wctab tab []
 

Function Documentation

◆ wctype()

wctype_t __cdecl wctype ( char const *const  name)

Definition at line 41 of file wctype.cpp.

42{
43 for (unsigned n = 0; tab[n].s != 0; ++n)
44 {
45 if (strcmp(tab[n].s, name) == 0)
46 return tab[n].value;
47 }
48
49 return 0;
50}
int strcmp(const char *String1, const char *String2)
Definition: utclib.c:469
GLdouble s
Definition: gl.h:2039
GLdouble n
Definition: glext.h:7729
Definition: name.c:39
static struct wctab tab[]

Referenced by _Messages::do_get(), _Catalog_locale_map::insert(), prim(), and rangematch().

Variable Documentation

◆ tab

struct wctab tab[]
static
Initial value:
=
{
{ "alnum", _ALPHA | _DIGIT },
{ "alpha", _ALPHA },
{ "cntrl", _CONTROL },
{ "digit", _DIGIT },
{ "graph", _PUNCT | _ALPHA | _DIGIT },
{ "lower", _LOWER },
{ "print", _BLANK | _PUNCT | _ALPHA | _DIGIT },
{ "punct", _PUNCT },
{ "blank", _BLANK },
{ "space", _SPACE },
{ "upper", _UPPER },
{ "xdigit", _HEX },
{ nullptr, 0 }
}
#define _BLANK
Definition: ctype.h:72
#define _PUNCT
Definition: ctype.h:70
#define _CONTROL
Definition: ctype.h:71
#define _LOWER
Definition: ctype.h:66
#define _SPACE
Definition: ctype.h:68
#define _ALPHA
Definition: ctype.h:76
#define _UPPER
Definition: ctype.h:65
#define _HEX
Definition: ctype.h:73
#define _DIGIT
Definition: ctype.h:67

Referenced by wctype().