diff options
Diffstat (limited to 'private/crt32/mbstring/mbsdup.c')
-rw-r--r-- | private/crt32/mbstring/mbsdup.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/private/crt32/mbstring/mbsdup.c b/private/crt32/mbstring/mbsdup.c new file mode 100644 index 000000000..0e283a04e --- /dev/null +++ b/private/crt32/mbstring/mbsdup.c @@ -0,0 +1,18 @@ +/*** +*mbsdup.c - duplicate a string in malloc'd memory +* +* Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved. +* +*Purpose: +* defines _mbsdup() - grab new memory, and duplicate the string into it. +* +*Revision History: +* 11-18-92 KRS Identical to strdup--could just use alias record. +* +*******************************************************************************/ + +#ifdef _MBCS +#define _strdup _mbsdup +#include <..\string\strdup.c> + +#endif /* _MBCS */ |