C API Reference -- Ns_DStringLength

### Ns_DStringLength

#### Overview

Return the current length of an Ns_DString

#### Syntax

        int Ns_DStringLength(
        Ns_DString *dsPtr
        );

#### Description

The Ns_DStringLength macro returns the current length of the Ns_DString.

#### Examples

        Ns_DString ds;
        Ns_DStringInit(&ds);
        Ns_DStringAppend(&ds, "<html></html>");
        printf("len=%d\n", Ns_DStringLength(&ds));
        Ns_DStringFree(&ds); /* finished with dstring */

Top of Page
Copyright © 1998-99 America Online, Inc.