mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 04:43:06 +02:00
Merge branch 'unix-mount-for-docs' into 'main'
gunixmounts: Document NULL return value for g_unix_mount_for() See merge request GNOME/glib!2145
This commit is contained in:
commit
757cc93520
@ -1593,6 +1593,8 @@ g_unix_mounts_get (guint64 *time_read)
|
|||||||
* If more mounts have the same mount path, the last matching mount
|
* If more mounts have the same mount path, the last matching mount
|
||||||
* is returned.
|
* is returned.
|
||||||
*
|
*
|
||||||
|
* This will return %NULL if there is no mount point at @mount_path.
|
||||||
|
*
|
||||||
* Returns: (transfer full) (nullable): a #GUnixMountEntry.
|
* Returns: (transfer full) (nullable): a #GUnixMountEntry.
|
||||||
**/
|
**/
|
||||||
GUnixMountEntry *
|
GUnixMountEntry *
|
||||||
@ -1636,6 +1638,9 @@ g_unix_mount_at (const char *mount_path,
|
|||||||
* If more mounts have the same mount path, the last matching mount
|
* If more mounts have the same mount path, the last matching mount
|
||||||
* is returned.
|
* 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.
|
* Returns: (transfer full) (nullable): a #GUnixMountEntry.
|
||||||
*
|
*
|
||||||
* Since: 2.52
|
* Since: 2.52
|
||||||
|
Loading…
x
Reference in New Issue
Block a user