Function
GLibstrdup_printf
since: 2.0
Description
Similar to the standard C sprintf()
function but safer, since it
calculates the maximum space required and allocates memory to hold
the result. The returned string should be freed with g_free()
when no
longer needed.
The returned string is guaranteed to be non-NULL, unless format
contains %lc
or %ls
conversions, which can fail if no multibyte
representation is available for the given character.
Available since: 2.0
This function is not directly available to language bindings.