NAME

NstSprintf - sprintf, but with automatic string resizing

NstVSprintf - analogous, but interface like vsprintf

PROTOTYPES

/* DESCRIPTION: These functions print or append a string char *NstSprintf( char *pcStr, char *pcFmt, ...)

char* NstVSprintf( char *pcStr, char *pcFmt, va_list vArg)

ARGUMENTS

char *pcStr
string to use for printing. If size is insufficient, REALLOCation will be made. string to use for printing. If size is insufficient, REALLOCation will be made.
char *pcFmt
print format print format
...
further arguments to print
va_list vArg
ptr to variable length argument list

RETURN VALUE:

Pointer to result string. May differ from pcStr, if size REALLOCation was necessary.

DESCRIPTION:

Prints values specified via vArg into pcStr under the control of the print format pcFmt. pcStr may be specified as NULL, since the routine automatic cares for providing enough memory. The routine may overestimate the required memory by a few percent.

FILE

/local/homes/rhaschke/nst7/man/../o.linx86_64//../nstsrc/nst_strg.c