qdb_vmprintf()

Print formatted output to a new string

Synopsis:

#include <qdb/qdb.h>

char * qdb_vmprintf( const char* fmt,
                     va_list arg );

Arguments:

fmt
A pointer to a formatting string to process. The formatting string determines what additional arguments you need to provide. For more information, see printf() in the Neutrino Library Reference.
arg
A variable-argument list of the additional arguments, which you must have initialized with the va_start() macro.

Library:

qdb

Description:

This function is a variant of the vsprintf() from the standard C library. For more information about additional formatting options, see qdb_mprintf().

Returns:

An formatted string, or NULL if an error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

qdb_mprintf(), qdb_snprintf(), printf(), va_start() and vsprint() in the Neutrino Library Reference