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

ns_strcopy

Overview

Copy a string or NULL value using ns_malloc

Syntax

    char *ns_strcopy(
    	char *string
    );

Description

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.

Top of Page

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