qdb_vmprintf()

Print formatted output to a new string

Synopsis:

#include <qdb/qdb.h>

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

Arguments:

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

Library:

qdb

Description:

This function is a variant of the vsprintf() from the standard C library. For information about additional formatting options supported by QDB (but not printf()), see qdb_mprintf().

Returns:

A pointer to a formatted string
Success.
NULL
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes