char *Ns_DStringPrintf( Ns_DString *dsPtr, char *fmt, ... );
Ns_DString ds; Ns_DStringInit(&ds); Ns_DStringPrintf(&ds, "/path%d", getpid()); /* do something with dstring */ printf ("%s\n", ds.string); Ns_DStringFree(&ds); /* finished with dstring */
Top of Page
Copyright © 1996 America Online, Inc.