Function

GioUnixmounts_get

deprecated: 2.84 

Declaration [src]

GList*
g_unix_mounts_get (
  guint64* time_read
)

Description [src]

Gets a GList of GUnixMountEntry containing the unix mounts. If time_read is set, it will be filled with the mount timestamp, allowing for checking if the mounts have changed with g_unix_mount_entries_changed_since().

Deprecated since: 2.84

Use g_unix_mount_entries_get() instead.

Parameters

time_read

Type: guint64*

Guint64 to contain a timestamp, or NULL.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: A list of GUnixMountEntry*

a `GList` of the UNIX mounts.
The caller of the function takes ownership of the data, and is responsible for freeing it.