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

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.

Example

    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

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