Question about gchar & g_strconcat()



hello,

gchar *file;
file="test";
file = g_strconcat("/some/path/", file, ".txt", NULL);
g_printf("%s", file);


My question is do i must allocate memory for file ?

Fred




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]