Method

GLibStringvprintf

Declaration

void
g_string_vprintf (
  GString* string,
  const gchar* format,
  va_list args
)

Description

Writes a formatted string into a GString. This function is similar to g_string_printf() except that the arguments to the format string are passed as a va_list.

Available since:2.14

Parameters

format const gchar*
 

The string format. See the printf() documentation.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
args va_list
 

The parameters to insert into the format string.