#include <corecrt_internal.h>
#include <ctype.h>
#include <locale.h>
#include <string.h>
Go to the source code of this file.
◆ _strcoll_l()
Definition at line 39 of file strcoll.cpp.
44{
47
48
51
52 if ( _loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE] ==
nullptr )
53 return strcmp(_string1, _string2);
54
56 _loc_update.GetLocaleT(), _loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE],
58 _string1,
59 -1,
60 _string2,
61 -1,
62 _loc_update.GetLocaleT()->locinfo->lc_collate_cp )) )
63 {
66 }
67
69
70}
int strcmp(const char *String1, const char *String2)
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)
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
Referenced by strcoll().
◆ strcoll()
Definition at line 72 of file strcoll.cpp.
76{
77 return _strcoll_l(_string1, _string2,
nullptr);
78}
int __cdecl _strcoll_l(const char *_string1, const char *_string2, _locale_t plocinfo)