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

Ns_DStringFree

Overview

Free any allocated memory used by an Ns_DString

Syntax

    void Ns_DStringFree(
    	Ns_DString *dsPtr
    );

Description

The Ns_DStringFree function frees any memory associated with an Ns_DString.

Example

    Ns_DString ds;
    Ns_DStringInit(&ds);
    Ns_DStringAppend(&ds, "foo");
    /* do something with the dstring */
    printf ("%s\n", ds.string);
    Ns_DStringFree(&ds); /* finished with dstring */

Top of Page

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