#include <precomp.h>
#include <mbstring.h>
Go to the source code of this file.
◆ _mbsnbcpy()
Definition at line 130 of file mbsncpy.c.
131{
136 {
137 int is_lead = 0;
139 {
143 }
144
145 if (is_lead)
147 }
148 else
149 {
151 {
153 if (!(*
dst++ = *
src++))
break;
154 }
155 }
156 while (
n--) *
dst++ = 0;
158}
MSVCRT_pthreadmbcinfo get_mbcinfo(void)
int __cdecl _ismbblead(unsigned int)
◆ _mbsnbcpy_s()
Definition at line 65 of file mbsncpy.c.
66{
68
72 {
75 }
77 return 0;
78
80 {
81 int is_lead = 0;
83 {
85 {
88 }
92 }
93
94 if (is_lead)
96 }
97 else
98 {
100 {
103 {
106 }
107
110 }
111 }
112
115 else
116 {
119 }
120
121 return 0;
122}
◆ _mbsncpy()
Definition at line 22 of file mbsncpy.c.
23{
28 {
30 {
33 {
35 {
38 break;
39 }
40
42 }
43
45 }
46 }
47 else
48 {
50 {
52 if (!(*
dst++ = *
src++))
break;
53 }
54 }
55 while (
n--) *
dst++ = 0;
57}