]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/udev_device_new_from_syspath.xml
final v236 update (#7649)
[thirdparty/systemd.git] / man / udev_device_new_from_syspath.xml
index c71356a75ade826c6ee3f9fde2c909a9a1bd0b9d..13f1b4ccef3af284affe1b76583cefac9b724de3 100644 (file)
@@ -6,6 +6,8 @@
 ]>
 
 <!--
+  SPDX-License-Identifier: LGPL-2.1+
+
   This file is part of systemd.
 
   Copyright 2015 David Herrmann <dh.herrmann@gmail.com>
     <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