Scroll to navigation

USB_STATE_STRING(9) Kernel Mode Gadget API USB_STATE_STRING(9)

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.

AUTHOR

David Brownell <dbrownell@users.sourceforge.net>

Author.

COPYRIGHT

March 2017 Kernel Hackers Manual 4.10