Newer
Older
Microsoft / strdup / STRDUP.C
@tundra tundra on 24 May 2012 266 bytes Initial revision
/*	STRDUP.C - String Copy Function Which Does Not Copy The Null Terminator
			Copyright (C) 1986 T.A. Daneliuk
			Last Modified: 09/15/86
*/

void	strdup(dst,src)

char	*dst,*src;

{

while (*src != '\0')
		{
		*dst=*src;
		src++;
		dst++;
		}

}