axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
char* axl_stream_strdup_printfv ( const char *  chunk,
va_list  args 
)

DEPRECATED: Allows to produce an string representing the message hold by chunk with the parameters provided.

Parameters
chunkThe message chunk to print.
argsThe arguments for the chunk.
Returns
A newly allocated string.

IMPLEMENTATION NOTE: This function may have a fundamental bug due to the design of va_list arguments under amd64 platforms. In short, a function receiving a va_list argument can't use it twice. In you are running amd64, check your axl_config.h did find AXL_HAVE_VASPRINTF.

IMPLEMENTATION NOTE: place update exarg_strdup_printfv code in the case this code is updated

References AXL_LEVEL_CRITICAL, axl_new, axl_return_val_if_fail, and axl_stream_vprintf_len().

Referenced by axl_error_report(), and axl_stream_strdup_printf().