Go to the source code of this file.
◆ _mbscpy_s_l()
Definition at line 17 of file mbscpy_s_l.cpp.
18{
22
23
26
29 {
31 }
32
35 while ((*
p++ = *_Src++) != 0 && --
available > 0)
36 {
37 }
38
39
40
41
42
43
44
46 {
47 if (*_Src == 0) {
49 if (fIsLeadPrefix)
50 {
53 }
54 }
57 }
58
59
60
61
62
63
64
66 if (fIsLeadPrefix && (
p - 2) >= _Dst)
67 {
72 }
73
76}
#define _ISMBBLEADPREFIX(_Result, _StringStart, _BytePtr)
#define _RETURN_BUFFER_TOO_SMALL(_String, _Size)
#define _LOCALE_SHORTCUT_TEST
#define _RESET_STRING(_String, _Size)
#define _VALIDATE_POINTER_RESET_STRING(_Pointer, _String, _Size)
#define _RETURN_MBCS_ERROR
#define _VALIDATE_STRING(_String, _Size)
static WCHAR available[MAX_STRING_RESOURCE_LEN]
_ACRTIMP errno_t __cdecl strcpy_s(char *, size_t, const char *)