#include <corecrt_internal_mbstring.h>
#include <locale.h>
Go to the source code of this file.
◆ _mbsbtype()
Definition at line 79 of file mbsbtype.cpp.
80{
82}
GLuint GLsizei GLsizei * length
int __cdecl _mbsbtype_l(unsigned char const *string, size_t length, _locale_t const locale)
◆ _mbsbtype_l()
Definition at line 51 of file mbsbtype.cpp.
52{
54
55 _LocaleUpdate locale_update(
locale);
56
57 if (locale_update.GetLocaleT()->mbcinfo->ismbcodepage == 0)
59
61
62 do
63 {
64
65
66
67
68 if (
length == 0 && *
string ==
'\0')
70
72
73 chartype =
_mbbtype_l(*
string++, chartype, locale_update.GetLocaleT());
75
76 return chartype;
77}
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
_Check_return_ _CRTIMP int __cdecl _mbbtype_l(_In_ unsigned char _Ch, _In_ int _CType, _In_opt_ _locale_t _Locale)
Referenced by _mbsbtype().