Go to the source code of this file.
◆ _mbsset_s_l()
Definition at line 17 of file mbsset_s_l.cpp.
18{
19 int mbcs_error = 0;
22 unsigned char highval, lowval;
23
24
26
29 {
31 }
32
37
38
39 if ((highval != 0 && (lowval == 0 || !
_ISMBBLEAD(highval))) ||
41 {
44 }
45
46 if (highval != 0)
47 {
49 {
51 {
52
55 mbcs_error = 1;
56 break;
57 }
60 {
61 break;
62 }
64 }
65 }
66 else
67 {
69 {
71 }
72 }
73
75 {
78 }
80
81 if (mbcs_error)
82 {
84 }
85 else
86 {
88 }
89}
#define _RETURN_DEST_NOT_NULL_TERMINATED(_String, _Size)
#define _LOCALE_SHORTCUT_TEST
#define _RESET_STRING(_String, _Size)
#define _RETURN_MBCS_ERROR
#define _ISMBBLEAD(_Character)
#define _VALIDATE_STRING(_String, _Size)
static WCHAR available[MAX_STRING_RESOURCE_LEN]
_Check_return_wat_ _CRTIMP errno_t __cdecl _strset_s(_Inout_updates_z_(size) char *dst, _In_ size_t size, _In_ int val)