strdupv

fnstring[] strdupv(string[] strArray = null)

Copies an array of strings. The copy is a deep copy; each string is also copied.

If called on a NULL value, [glib.global.strdupv] simply returns NULL.

Parameters

strArrayan array of strings to copy

Returns

a

newly-allocated array of strings. Use funcGLib.strfreev to free it.