#include <corecrt_internal.h>
#include <ctype.h>
#include <corecrt_internal_securecrt.h>
#include <limits.h>
#include <locale.h>
#include <string.h>
Go to the source code of this file.
◆ _strlwr()
Definition at line 54 of file strlwr.cpp.
57{
58 if (!__acrt_locale_changed())
59 {
61
62
64
66 {
67 if (
'A' <= *
cp && *
cp <=
'Z')
69 }
70
71 return(string);
72 }
73 else
74 {
77 }
78}
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
◆ _strlwr_l()
◆ _strlwr_s()
◆ _strlwr_s_l()
Definition at line 188 of file strlwr.cpp.
193{
194
195 _LocaleUpdate _loc_update(
plocinfo);
196
198}
static errno_t __cdecl _strlwr_s_l_stat(_Inout_updates_z_(sizeInBytes) char *const string, size_t const sizeInBytes, _locale_t const plocinfo)
◆ _strlwr_s_l_stat()
Definition at line 107 of file strlwr.cpp.
112{
113
114 int dstsize;
116
117
121 {
124 }
126
129
130 for (
cp =
string ; *
cp ; ++
cp )
131 if ( (
'A' <= *
cp) && (*
cp <=
'Z') )
133
134 return 0;
135 }
136
137
142 string,
143 -1,
144 nullptr,
145 0,
148 {
151 }
152
154 {
157 }
158
159
160 __crt_scoped_stack_ptr<char>
dst(_malloca_crt_t(
char, dstsize));
162 {
165 }
166
167
172 string,
173 -1,
175 dstsize,
178 {
179
181 }
182 else
183 {
185 }
186}
int __cdecl __acrt_LCMapStringA(_locale_t const plocinfo, PCWSTR const LocaleName, DWORD const dwMapFlags, PCCH const lpSrcStr, int const cchSrc, PCH const lpDestStr, int const cchDest, int const code_page, BOOL const bError)
#define _RETURN_DEST_NOT_NULL_TERMINATED(_String, _Size)
#define _RETURN_BUFFER_TOO_SMALL(_String, _Size)
#define _RESET_STRING(_String, _Size)
_ACRTIMP size_t __cdecl strnlen(const char *, size_t)
_ACRTIMP errno_t __cdecl strcpy_s(char *, size_t, const char *)
GLint const GLchar GLint stringlen
#define _VALIDATE_RETURN_ERRCODE(expr, errorcode)
Referenced by _strlwr_s_l().