Function

GLibstrv_length

since: 2.6

Declaration

guint
g_strv_length (
  gchar** str_array
)

Description

Returns the length of the given NULL-terminated string array str_array. str_array must not be NULL.

Available since: 2.6

Parameters

str_array

Type: gchar**

A NULL-terminated array of strings.

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

Return value

Type: guint

Length of str_array.