]> err.no Git - systemd/commitdiff
libudev: docs - add udev_get_run_path()
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 25 Mar 2011 16:58:30 +0000 (17:58 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 25 Mar 2011 16:58:30 +0000 (17:58 +0100)
libudev/docs/libudev-sections.txt
libudev/libudev.c

index 918344d941440522927a746a8af436e4a9e80207..2560a08e1faad44d7ddd301eb7f54a377ab8b347 100644 (file)
@@ -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>
index d96934fba83d5d71c69b3ac06ce0ec4ca6888f2d..edc24e2fcab42e3f1d5210f8e31d37c819b670d0 100644 (file)
@@ -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)