Method

AgsFileUtilput_string

since: 6.3.0

Declaration [src]

gchar*
ags_file_util_put_string (
  AgsFileUtil* file_util,
  gchar* str,
  gint length
)

Description [src]

Put str to string.

Available since: 6.3.0

Parameters

str

Type: gchar*

The string.

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

Type: gint

The length of string.

Return value

Type: gchar*

The newly allocated string.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.