2008-12-18 22:06:07 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS system libraries
|
|
|
|
* FILE: lib/sdk/crt/mbstring/mbccpy.c
|
|
|
|
* PURPOSE: Copies a multi byte character
|
|
|
|
* PROGRAMERS:
|
|
|
|
* Copyright 1999 Alexandre Julliard
|
|
|
|
* Copyright 2000 Jon Griffths
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2007-03-14 20:24:57 +00:00
|
|
|
#include <mbstring.h>
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @implemented
|
|
|
|
*/
|
|
|
|
void _mbccpy(unsigned char *dst, const unsigned char *src)
|
|
|
|
{
|
2008-12-18 22:06:07 +00:00
|
|
|
*dst = *src;
|
|
|
|
if(_ismbblead(*src))
|
|
|
|
*++dst = *++src; /* MB char */
|
2007-03-14 20:24:57 +00:00
|
|
|
}
|