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:
chunk The printf chunk format to allocate.
chunk_size A reference to fill the chunk lenght.
Returns:
A newly allocated chunk.