mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-24 16:10:11 +07:00
libudev: docs - add udev_get_run_path()
This commit is contained in:
parent
6e0768d290
commit
672ff71911
@ -10,6 +10,7 @@ udev_get_log_priority
|
||||
udev_set_log_priority
|
||||
udev_get_sys_path
|
||||
udev_get_dev_path
|
||||
udev_get_run_path
|
||||
udev_get_userdata
|
||||
udev_set_userdata
|
||||
</SECTION>
|
||||
|
@ -411,6 +411,14 @@ const char *udev_get_run_config_path(struct udev *udev)
|
||||
return udev->run_config_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* udev_get_run_path:
|
||||
* @udev: udev library context
|
||||
*
|
||||
* Retrieve the udev runtime directory path. The default is "/run/udev".
|
||||
*
|
||||
* Returns: the runtime directory path
|
||||
**/
|
||||
const char *udev_get_run_path(struct udev *udev)
|
||||
{
|
||||
if (udev->run_path != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user