[ CCode ( array_length = false , array_null_terminated = true ) ]
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.
str_array |
a null-terminated array of strings |
a new null-terminated array of strings. |