Get a property value from a udev device
| 275 | |
| 276 | // Get a property value from a udev device |
| 277 | const char* getUdevAttribute(udev_device* udevDevice, const std::string& attributeName) |
| 278 | { |
| 279 | return udev_device_get_property_value(udevDevice, attributeName.c_str()); |
| 280 | } |
| 281 | |
| 282 | // Get a system attribute from a USB device |
| 283 | const char* getUsbAttribute(udev_device* udevDevice, const std::string& attributeName) |
no outgoing calls
no test coverage detected