[ Previous ] [ Contents ] [ Index ] [ Next ]

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

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.