Get an attribute value from a udev_device and return it as a whar_t string. The returned string must be freed with free() when done.*/
| 183 | /* Get an attribute value from a udev_device and return it as a whar_t |
| 184 | string. The returned string must be freed with free() when done.*/ |
| 185 | static wchar_t *copy_udev_string(struct udev_device *dev, const char *udev_name) |
| 186 | { |
| 187 | return utf8_to_wchar_t(udev_device_get_sysattr_value(dev, udev_name)); |
| 188 | } |
| 189 | |
| 190 | /* |
| 191 | * Gets the size of the HID item at the given position |
no test coverage detected