C API Reference -- Ns_DStringFree

### 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.

#### Examples

        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
Copyright © 1998-99 America Online, Inc.