1STRUCT USB_STRING(9) Kernel Mode Gadget API STRUCT USB_STRING(9)
23
4
NAME
6struct_usb_string - wraps a C string and its USB id
7
SYNOPSIS
9struct usb_string {
10u8 id;
11const char * s;
12};
13
MEMBERS
15id
16the (nonzero) ID for this string
1718
s
19the string, in UTF-8 encoding
20
DESCRIPTION
22If you're using usb_gadget_get_string, use this to wrap a string
23together with its ID.
24
AUTHOR
26David Brownell <dbrownell@users.sourceforge.net>
27Author.
28
COPYRIGHT
30Kernel Hackers Manual 3.10 June 2019 STRUCT USB_STRING(9)