| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files (x86)/Windows Kits/10/Source/10.0.19041.0/ucrt/mbstring/ |
Upload File : |
/***
*ismbprn.c - Test character for display character (MBCS)
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
*Purpose:
* Test character for display character (MBCS)
*
*******************************************************************************/
#ifndef _MBCS
#error This file should only be compiled with _MBCS defined
#endif
#include <corecrt_internal_mbstring.h>
#include <locale.h>
/***
* _ismbcprint - Test character for display character (MBCS)
*
*Purpose:
* Test if the character is a display character.
* Handles MBCS chars correctly.
*
* Note: Use test against 0x00FF to ensure that we don't
* call SBCS routine with a two-byte value.
*
*Entry:
* unsigned int c = character to test
*
*Exit:
* Returns TRUE if character is display character, else FALSE
*
*Exceptions:
*
*******************************************************************************/
extern "C" int __cdecl _ismbcprint_l(unsigned int const c, _locale_t const locale)
{
_LocaleUpdate locale_update(locale);
if (c <= 0x00FF)
{
return _ismbbprint_l(c, locale_update.GetLocaleT());
}
return __dcrt_multibyte_check_type(c, locale_update.GetLocaleT(), _CONTROL, false);
}
extern "C" int __cdecl _ismbcprint(unsigned int const c)
{
return _ismbcprint_l(c, nullptr);
}