Function

GLibstrv_length

Declaration [src]

guint
g_strv_length (
  gchar** str_array
)

Description [src]

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 gchar**
 

A NULL-terminated array of strings.

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

Return value

Returns: guint
 

Length of str_array.