mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gunixmounts: Document NULL return value for g_unix_mount_for()
It will return `NULL` if the path doesn’t exist. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
601ef3b6be
commit
165a0baa15
@ -1636,6 +1636,9 @@ g_unix_mount_at (const char *mount_path,
|
||||
* If more mounts have the same mount path, the last matching mount
|
||||
* is returned.
|
||||
*
|
||||
* This will return %NULL if looking up the mount entry fails, if
|
||||
* @file_path doesn’t exist or there is an I/O error.
|
||||
*
|
||||
* Returns: (transfer full) (nullable): a #GUnixMountEntry.
|
||||
*
|
||||
* Since: 2.52
|
||||
|
Loading…
Reference in New Issue
Block a user