ReactOS 0.4.16-dev-852-gcfcc8d8
wctype.h File Reference
#include <corecrt.h>
#include <corecrt_wctype.h>
Include dependency graph for wctype.h:

Go to the source code of this file.

Macros

#define _INC_WCTYPE
 

Functions

_ACRTIMP wint_t __cdecl towctrans (wint_t c, wctrans_t value)
 
_ACRTIMP wctrans_t __cdecl wctrans (const char *name)
 
_ACRTIMP wctype_t __cdecl wctype (const char *name)
 

Variables

_UCRT_DISABLE_CLANG_WARNINGS _CRT_BEGIN_C_HEADER typedef wchar_t wctrans_t
 

Macro Definition Documentation

◆ _INC_WCTYPE

#define _INC_WCTYPE

Definition at line 10 of file wctype.h.

Function Documentation

◆ towctrans()

_ACRTIMP wint_t __cdecl towctrans ( wint_t  c,
wctrans_t  value 
)

Definition at line 33 of file wctrans.cpp.

34{
35 return value == 1 ? towupper(c) : towlower(c);
36}
const GLubyte * c
Definition: glext.h:8905
#define towlower(c)
Definition: wctype.h:97
#define towupper(c)
Definition: wctype.h:99
Definition: pdh_main.c:96

◆ wctrans()

_ACRTIMP wctrans_t __cdecl wctrans ( const char name)

Definition at line 38 of file wctrans.cpp.

39{
40 for (unsigned n = 0; tab[n].s != 0; ++n)
41 {
42 if (strcmp(tab[n].s, name) == 0)
43 return tab[n].value;
44 }
45
46 return 0;
47}
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[]

◆ wctype()

_ACRTIMP wctype_t __cdecl wctype ( const char 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}
static struct wctab tab[]

Variable Documentation

◆ wctrans_t