usb_state_string (9) Linux Manual Page
usb_state_string – Returns human readable name for the state.
Synopsis
const char *usb_state_string(enum usb_device_state state);
Arguments
state
-
- The state to return a human-readable name for. If it’s not any of the states devices in usb_device_state_string enum, the string UNKNOWN will be returned.
