update for HEAD-2003091401
[reactos.git] / lib / msvcrt / mbstring / mbccpy.c
1 #include <msvcrt/mbstring.h>
2 #include <msvcrt/string.h>
3
4 size_t _mbclen2(const unsigned int s);
5
6 /*
7  * @implemented
8  */
9 void _mbccpy(unsigned char *dst, const unsigned char *src)
10 {
11   if (!_ismbblead(*src) )
12     return;
13
14   memcpy(dst,src,_mbclen2(*src));
15 }