/* Returns: the maximum space needed to store the formatted string  */
gsize g_printf_string_upper_bound(const gchar *format, va_list args)
/* Returns: the maximum space needed to store the formatted string  */
gsize g_printf_string_upper_bound(const gchar *format, va_list args)
{
  gchar c;
  return _g_vsnprintf (&c, 1, format, args) + 1;
}