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.
format |
a standard printf format string, but notice string precision pitfalls |
... |
the parameters to insert into the format string |
a newly-allocated string holding the result |