xref: /reactos/sdk/lib/crt/mbstring/mbccpy.c (revision 5100859e)
1 /*
2  * COPYRIGHT:   See COPYING in the top level directory
3  * PROJECT:     ReactOS system libraries
4  * FILE:        lib/sdk/crt/mbstring/mbccpy.c
5  * PURPOSE:     Copies a multi byte character
6  * PROGRAMERS:
7  *              Copyright 1999 Alexandre Julliard
8  *              Copyright 2000 Jon Griffths
9  *
10  */
11 
12 #include <mbstring.h>
13 #include <string.h>
14 
15 /*
16  * @implemented
17  */
18 void _mbccpy(unsigned char *dst, const unsigned char *src)
19 {
20   *dst = *src;
21   if(_ismbblead(*src))
22     *++dst = *++src; /* MB char */
23 }
24