ReactOS 0.4.16-dev-2122-g1628f5e
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 149 of file wcs.c.

150{
151 if(category == 1)
152 return _towupper_l(c, NULL);
153 return _towlower_l(c, NULL);
154}
#define NULL
Definition: types.h:112
wint_t CDECL _towupper_l(wint_t c, _locale_t locale)
Definition: wcs.c:2932
wint_t CDECL _towlower_l(wint_t c, _locale_t locale)
Definition: wcs.c:96
const GLubyte * c
Definition: glext.h:8905

◆ 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}
_ACRTIMP int __cdecl strcmp(const char *, const char *)
Definition: string.c:3319
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