From f471010353f6ab4a32d33968ee8d677454f4af0c Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Wed, 3 Feb 2016 12:12:17 +0100 Subject: [PATCH] man: document that udev_device_new_* functions set errno on error --- man/udev_device_new_from_syspath.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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