usb_state_string (9) - Linux Man Pages

usb_state_string: Returns human readable name for the state.

NAME

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.

COPYRIGHT