|
|
Copy a string or NULL value using Ns_Malloc
char *Ns_StrCopy(
char *string
);
The Ns_StrCopy function is identical to the Ns_StrDup function but allows for the string parameter to be NULL, in which case Ns_StrCopy does nothing and returns NULL.