Function

Giounix_mounts_get

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_mounts_changed_since().

Parameters

time_read guint64*
 

Guint64 to contain a timestamp, or NULL.

 The argument will be set by the function.
 The argument can be NULL.
 The called function takes ownership of the data, and is responsible for freeing it.

Return value

Returns: 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.