#include <corecrt_internal.h>
#include <ctype.h>
#include <locale.h>
#include <string.h>
Go to the source code of this file.
◆ _strncoll()
Definition at line 79 of file strncoll.cpp.
84{
85 if (!__acrt_locale_changed())
86 {
87
91
93 }
94 else
95 {
97 }
98}
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
_ACRTIMP int __cdecl strncmp(const char *, const char *, size_t)
GLuint GLuint GLsizei count
int __cdecl _strncoll_l(const char *_string1, const char *_string2, size_t count, _locale_t plocinfo)
◆ _strncoll_l()
Definition at line 38 of file strncoll.cpp.
44{
46
48 return 0;
49
50
54
56
57 if ( _loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE] ==
nullptr )
58 {
60 }
61
63 _loc_update.GetLocaleT(),
64 _loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE],
66 _string1,
68 _string2,
70 _loc_update.GetLocaleT()->locinfo->lc_collate_cp)) )
71 {
74 }
75
77}
int __cdecl __acrt_CompareStringA(_In_opt_ _locale_t _Plocinfo, _In_ LPCWSTR _LocaleName, _In_ DWORD _DwCmpFlags, _In_CRT_NLS_string_(_CchCount1) PCCH _LpString1, _In_ int _CchCount1, _In_CRT_NLS_string_(_CchCount2) PCCH _LpString2, _In_ int _CchCount2, _In_ int _CodePage)
Referenced by _mbsnbcoll_l(), _mbsncoll_l(), and _strncoll().