2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/crtdll/mbstring/hanzen.c
5 * PURPOSE: Duplicates a multi byte string
6 * PROGRAMER: Boudewijn Dekker
8 Modified from DJGPP strdup
12 #include <msvcrt/mbstring.h>
13 #include <msvcrt/stdlib.h>
18 unsigned char * _mbsdup(const unsigned char *_s
)
23 rv
= (char *)malloc(_mbslen(_s
) + 1);