diff options
author | Michal Sekletar <msekleta@redhat.com> | 2016-02-03 12:12:17 +0100 |
---|---|---|
committer | Michal Sekletar <msekleta@redhat.com> | 2016-02-03 12:14:32 +0100 |
commit | f471010353f6ab4a32d33968ee8d677454f4af0c (patch) | |
tree | 12ac76c456eaa79199aca0e6a94f1a681ae62856 | |
parent | c5c41f1e57a620266ea08daffbf01e922e83c775 (diff) |
man: document that udev_device_new_* functions set errno on error
-rw-r--r-- | man/udev_device_new_from_syspath.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man/udev_device_new_from_syspath.xml b/man/udev_device_new_from_syspath.xml index c71356a75a..0bb71c8e91 100644 --- a/man/udev_device_new_from_syspath.xml +++ b/man/udev_device_new_from_syspath.xml @@ -189,7 +189,8 @@ <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 |