diff options
Diffstat (limited to 'libudev/libudev.c')
-rw-r--r-- | libudev/libudev.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libudev/libudev.c b/libudev/libudev.c index d96934fba8..edc24e2fca 100644 --- a/libudev/libudev.c +++ b/libudev/libudev.c @@ -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) |