axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
char* axl_stream_strdup_printf_len ( const char *  chunk,
int *  chunk_size,
  ... 
)

Allows to create a newly allocated chunk, providing its values as a printf call function, but also returning the chunk size.

This function works like axl_stream_strdup_printf, but providing an integer reference where the result chunk length will be returned.

Parameters
chunkThe printf chunk format to allocate.
chunk_sizeA reference to fill the chunk lenght.
Returns
A newly allocated chunk.

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