home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
crt
/
src
/
mbsdup.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-17
|
402b
|
16 lines
/***
*mbsdup.c - duplicate a string in malloc'd memory
*
* Copyright (c) 1985-1997, Microsoft Corporation. All rights reserved.
*
*Purpose:
* defines _mbsdup() - grab new memory, and duplicate the string into it.
*
*******************************************************************************/
#ifdef _MBCS
#define _strdup _mbsdup
#include <strdup.c>
#endif /* _MBCS */