diff --git a/man/udev_device_has_tag.xml b/man/udev_device_has_tag.xml index f34ae9ed37..e27b770215 100644 --- a/man/udev_device_has_tag.xml +++ b/man/udev_device_has_tag.xml @@ -109,12 +109,19 @@ udev_device_get_property_value() and udev_device_get_sysattr_value() return a pointer to a constant string of the requested value. On error, - NULL is returned. + NULL is returned. Attributes that may + contain NUL bytes should not be retrieved + with udev_device_get_sysattr_value(); + instead, read them directly from the files within the device's + syspath. On success, udev_device_set_sysattr_value() returns an integer greater than, or equal to, 0. - On failure, a negative error code is returned. + On failure, a negative error code is returned. Values that + contain NUL bytes should not be set with + this function; instead, write them directly to the files within + the device's syspath. On success, udev_device_has_tag() returns 1 or 0,