]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document a tiny bit better what udev_device_get_is_initialized() actually returns
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Jul 2016 07:17:33 +0000 (09:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Jul 2016 07:17:33 +0000 (09:17 +0200)
man/udev_device_get_syspath.xml

index b54749ed56deb7e4d428306786fcb4fcca3a6e8c..014f43b21cefa40e527b44aca4db110fcc4efe96 100644 (file)
     to such a parent device. On failure, <constant>NULL</constant>
     is returned.</para>
 
-    <para>On success, <function>udev_device_get_is_initialized()</function>
-    returns either <constant>1</constant> or <constant>0</constant>,
-    depending on whether the passed device is initialized or not. On
-    failure, a negative error code is returned.</para>
+    <para>On success, <function>udev_device_get_is_initialized()</function> returns either <constant>1</constant> or
+    <constant>0</constant>, depending on whether the passed device has already been initialized by udev or not. On
+    failure, a negative error code is returned. Note that devices for which no udev rules are defined are never
+    reported initialized.</para>
   </refsect1>
 
   <refsect1>