ac502525e221038807694accf13a58689401cfef
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 <crtdll/mbstring.h>
13 #include <crtdll/stdlib.h>
15 unsigned char * _mbsdup(const unsigned char *_s
)
20 rv
= (char *)malloc(_mbslen(_s
) + 1);