strdupv
Description:
[ CCode ( array_length = false , array_null_terminated = true ) ]
public string[] strdupv (string[] str_array)
public string[] strdupv (string[] str_array)
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. strfreev does this for you. If called on a null value, strdupv simply returns null.
Parameters:
str_array |
a null-terminated array of strings |
Returns:
a new null-terminated array of strings. |
Namespace: GLib
Package: glib-2.0