Function

AstalIOread_file

Declaration

gchar*
astal_io_read_file (
  const gchar* path
)

Description

Read the contents of a file synchronously.

Parameters

path

Type: const gchar*

No description available.

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

Return value

Type: gchar*

No description available.

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