G_BEGIN_DECLS IMPORT_C gint IMPORT_C gint IMPORT_C gint | g_sprintf | ( | gchar * | string, |
gchar const * | format, | |||
... | ||||
) |
G_BEGIN_DECLS IMPORT_C gint IMPORT_C gint IMPORT_C gint IMPORT_C gint | g_vprintf | ( | gchar const * | format, |
va_list | args | |||
) |
g_vprintf: : a standard printf() format string, but notice <link linkend="string-precision">string precision pitfalls</link>. : the list of arguments to insert in the output.
An implementation of the standard vprintf() function which supports positional parameters, as specified in the Single Unix Specification.
Returns: the number of bytes printed.
Since: 2.2
g_vsprintf: : the buffer to hold the output. : a standard printf() format string, but notice <link linkend="string-precision">string precision pitfalls</link>. : the list of arguments to insert in the output.
An implementation of the standard vsprintf() function which supports positional parameters, as specified in the Single Unix Specification.
Returns: the number of bytes printed.
Since: 2.2
g_vasprintf: : the return location for the newly-allocated string. : a standard printf() format string, but notice <link linkend="string-precision">string precision pitfalls</link>. : the list of arguments to insert in the output.
An implementation of the GNU vasprintf() function which supports positional parameters, as specified in the Single Unix Specification. This function is similar to g_vsprintf(), except that it allocates a string to hold the output, instead of putting the output in a buffer you allocate in advance.
Returns: the number of bytes printed.
Since: 2.4