This section describes some of utility functions for creating, duplicating, and manipulating strings provided by the GLib. These functions are used in the Osiris.
char* g_strdup (const gchar *str);The function just duplicates a string. The returned string should be freed when no longer needed.
gchar* g_strdup_printf (const gchar *format,Similar to the standard C sprintf() function but safer, since it calculates the maximum space required and allocates memory to hold the result. The returned string should be freed when no longer needed.
gchar* g_strconcat (const gchar *string1, ...);It concatenates all of the given strings into one long string. The returned string should be freed when no longer needed.