Copy a string using Ns_Malloc
char *Ns_StrDup( char *string );
The Ns_StrDup function calls Ns_Malloc to allocate enough memory to make a copy of the given string. This function replaces the system strdup function.
Top of Page
Copyright © 1996 America Online, Inc.