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

Ns_DStringVarAppend

Overview

Append a variable number of strings to an Ns_DString

Syntax

    char *Ns_DStringVarAppend(
    Ns_DString *dsPtr,
    ...
    );

Description

The Ns_DStringVarAppend function appends a variable number of strings to an Ns_DString. The list must end with NULL.

Examples

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

    

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.