Function

GLibmarkup_vprintf_escaped

Declaration [src]

gchar*
g_markup_vprintf_escaped (
  const char* format,
  va_list args
)

Description [src]

Formats the data in args according to format, escaping all string and character arguments in the fashion of g_markup_escape_text(). See g_markup_printf_escaped().

Available since:2.4

Parameters

format const char*
 

Printf() style format string.

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

Variable argument list, similar to vprintf()

Return value

Returns: gchar*
 

Newly allocated result from formatting operation. Free with g_free().

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The string is a NUL terminated UTF-8 string.