mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
604 B
25 lines
604 B
;***
|
|
;mbsdup.asm - 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 records.
|
|
;
|
|
;*******************************************************************************
|
|
|
|
ifdef NT_BUILD
|
|
file TEXTEQU <str>
|
|
path TEXTEQU <>
|
|
else
|
|
file TEXTEQU <386\str>
|
|
path TEXTEQU <..\string\i>
|
|
endif
|
|
|
|
_strdup EQU <_mbsdup>
|
|
|
|
% include &path&&file&dup.asm
|
|
end
|