Method

GLibStringappend_vprintf

since: 2.14

Declaration

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

Description

Appends a formatted string onto the end of a GString. This function is similar to g_string_append_printf() except that the arguments to the format string are passed as a va_list.

Available since: 2.14

This method is not directly available to language bindings.

Parameters

format

Type: 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

Type: va_list

The list of arguments to insert in the output.