gchar* g_strdup_vprintf ( const gchar* format, va_list args )
Similar to the standard C
vsprintf() function but safer, since it
calculates the maximum space required and allocates memory to hold
the result. The returned string should be freed with
no longer needed.
The returned string is guaranteed to be non-NULL, unless
%ls conversions, which can fail if no multibyte
representation is available for the given character.
g_vasprintf(), which offers the same functionality, but
additionally returns the length of the allocated string.
|The data is owned by the caller of the function.|
|The string is a NUL terminated UTF-8 string.|
The list of parameters to insert into the format string.