summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-03 12:29:05 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-03 12:29:05 +0100
commit3938e1657d98760a319b997b84f317bc951e358c (patch)
tree12ac76c456eaa79199aca0e6a94f1a681ae62856 /man
parentc5c41f1e57a620266ea08daffbf01e922e83c775 (diff)
parentf471010353f6ab4a32d33968ee8d677454f4af0c (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.xml3
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