Function

GLibref_string_length

Declaration

gsize
g_ref_string_length (
  char* str
)

Description

Retrieves the length of str.

Available since:2.58

Parameters

str char*
 

A reference counted string.

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

Return value

Returns: gsize
 

The length of the given string, in bytes.