From: Michal Sekletar Date: Wed, 3 Feb 2016 11:12:17 +0000 (+0100) Subject: man: document that udev_device_new_* functions set errno on error X-Git-Tag: v229~47^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f471010353f6ab4a32d33968ee8d677454f4af0c;p=thirdparty%2Fsystemd.git man: document that udev_device_new_* functions set errno on error --- diff --git a/man/udev_device_new_from_syspath.xml b/man/udev_device_new_from_syspath.xml index c71356a75ad..0bb71c8e912 100644 --- a/man/udev_device_new_from_syspath.xml +++ b/man/udev_device_new_from_syspath.xml @@ -189,7 +189,8 @@ udev_device_new_from_device_id() and udev_device_new_from_environment() return a pointer to the allocated udev device. On failure, - NULL is returned. + NULL is returned, + and errno is set appropriately. udev_device_ref() returns the argument that it was passed, unmodified. udev_device_unref() always returns