API Version: 2.0
Library Version: 2.83.2
Generated by gi-docgen 2024.1
gchar* g_strdup ( const gchar* str )
Duplicates a string. If str is NULL it returns NULL.
str
NULL
Type: const gchar*
const gchar*
The string to duplicate.
Type: gchar*
gchar*
A newly-allocated copy of str.