Str.strdupv

Copies NULL-terminated array of strings. The copy is a deep copy; the new array should be freed by first freeing each string, then the array itself. g_strfreev() does this for you. If called on a NULL value, g_strdupv() simply returns NULL.

struct Str
static
string[]
strdupv
(
string[] strArray
)

Parameters

strArray string[]

a NULL-terminated array of strings

Return Value

Type: string[]

a new NULL-terminated array of strings.