man: document that udev_device_new_* functions set errno on error
authorMichal Sekletar <msekleta@redhat.com>
Wed, 3 Feb 2016 11:12:17 +0000 (12:12 +0100)
committerMichal Sekletar <msekleta@redhat.com>
Wed, 3 Feb 2016 11:14:32 +0000 (12:14 +0100)
man/udev_device_new_from_syspath.xml

index c71356a..0bb71c8 100644 (file)
     <function>udev_device_new_from_device_id()</function> and
     <function>udev_device_new_from_environment()</function> return a
     pointer to the allocated udev device. On failure,
-    <constant>NULL</constant> is returned.
+    <constant>NULL</constant> is returned,
+    and <varname>errno</varname> is set appropriately.
     <function>udev_device_ref()</function> returns the argument
     that it was passed, unmodified.
     <function>udev_device_unref()</function> always returns