Function

Phoshutil_append_to_strv

since: 0

Declaration [src]

GStrv
phosh_util_append_to_strv (
  GStrv array,
  const char* element
)

Description [src]

Append element to an array of strings.

Available since: 0

Parameters

array

Type: An array of utf8

A NULL terminated array of strings.

The array must be NULL-terminated.
Each element is a NUL terminated UTF-8 string.
element

Type: const char*

The string to append.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: An array of utf8

A new NULL terminated array with the element appended to it.

The array is NULL-terminated.
Each element is a NUL terminated UTF-8 string.