ns_strdup
Overview
Copy a string using ns_malloc
Syntax
char *ns_strdup(
char *string
);
Description
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.