STRUCT USB_STRING(9) Kernel Mode Gadget API STRUCT USB_STRING(9)NAMEstruct_usb_string - wraps a C string and its USB id
SYNOPSIS
struct usb_string {
u8 id;
const char * s;
};
MEMBERS
id
the (nonzero) ID for this string
s
the string, in UTF-8 encoding
DESCRIPTION
If you´re using usb_gadget_get_string, use this to wrap a string
together with its ID.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net>
Author.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 STRUCT USB_STRING(9)