ReactOS 0.4.16-dev-927-g467dec4
ismbspc.cpp File Reference
#include <corecrt_internal_mbstring.h>
#include <locale.h>
Include dependency graph for ismbspc.cpp:

Go to the source code of this file.

Functions

int __cdecl _ismbcspace_l (unsigned int const c, _locale_t const locale)
 
int __cdecl _ismbcspace (unsigned int const c)
 

Function Documentation

◆ _ismbcspace()

int __cdecl _ismbcspace ( unsigned int const  c)

Definition at line 50 of file ismbspc.cpp.

51{
52 return _ismbcspace_l(c, nullptr);
53}
const GLubyte * c
Definition: glext.h:8905
int __cdecl _ismbcspace_l(unsigned int const c, _locale_t const locale)
Definition: ismbspc.cpp:38

◆ _ismbcspace_l()

int __cdecl _ismbcspace_l ( unsigned int const  c,
_locale_t const  locale 
)

Definition at line 38 of file ismbspc.cpp.

39{
40 _LocaleUpdate locale_update(locale);
41
42 if (c <= 0x00FF)
43 {
44 return _isspace_l(c, locale_update.GetLocaleT());
45 }
46
47 return __dcrt_multibyte_check_type(c, locale_update.GetLocaleT(), _SPACE, true);
48}
Definition: _locale.h:75
#define _isspace_l(_Char, _Locale)
Definition: ctype.h:648
#define _SPACE
Definition: ctype.h:68

Referenced by _ismbcspace().