man: document that udev_device_new_* functions set errno on error

This commit is contained in:
Michal Sekletar 2016-02-03 12:12:17 +01:00
parent c5c41f1e57
commit f471010353
1 changed files with 2 additions and 1 deletions

View File

@ -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