diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-03 12:29:05 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-03 12:29:05 +0100 |
commit | 3938e1657d98760a319b997b84f317bc951e358c (patch) | |
tree | 12ac76c456eaa79199aca0e6a94f1a681ae62856 /man | |
parent | c5c41f1e57a620266ea08daffbf01e922e83c775 (diff) | |
parent | f471010353f6ab4a32d33968ee8d677454f4af0c (diff) |
Merge pull request #2518 from msekletar/udev-manpage-fix
man: document that udev_device_new_* functions set errno on error
Diffstat (limited to 'man')
-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 |