1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00

Merge pull request #2518 from msekletar/udev-manpage-fix

man: document that udev_device_new_* functions set errno on error
This commit is contained in:
Lennart Poettering 2016-02-03 12:29:05 +01:00
commit 3938e1657d

View File

@ -189,7 +189,8 @@
<function>udev_device_new_from_device_id()</function> and <function>udev_device_new_from_device_id()</function> and
<function>udev_device_new_from_environment()</function> return a <function>udev_device_new_from_environment()</function> return a
pointer to the allocated udev device. On failure, 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 <function>udev_device_ref()</function> returns the argument
that it was passed, unmodified. that it was passed, unmodified.
<function>udev_device_unref()</function> always returns <function>udev_device_unref()</function> always returns