Function

GLibprint

Declaration [src]

void
g_print (
  const gchar* format,
  ...
)

Description [src]

Outputs a formatted message via the print handler. The default print handler simply outputs the message to stdout, without appending a trailing new-line character. Typically, format should end with its own new-line character.

g_print() should not be used from within libraries for debugging messages, since it may be redirected by applications to special purpose message windows or even files. Instead, libraries should use g_log(), g_log_structured(), or the convenience macros g_message(), g_warning() and g_error().

Parameters

format const gchar*
 

The message format. See the printf() documentation.

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

The parameters to insert into the format string.