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 >
C/C++ Source or Header  |  1998-06-17  |  402b  |  16 lines

  1. /***
  2. *mbsdup.c - duplicate a string in malloc'd memory
  3. *
  4. *       Copyright (c) 1985-1997, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. *       defines _mbsdup() - grab new memory, and duplicate the string into it.
  8. *
  9. *******************************************************************************/
  10.  
  11. #ifdef _MBCS
  12. #define _strdup _mbsdup
  13. #include <strdup.c>
  14.  
  15. #endif  /* _MBCS */
  16.