1STRUCT USB_STRING(9)        Kernel Mode Gadget API        STRUCT USB_STRING(9)
2
3
4

NAME

6       struct_usb_string - wraps a C string and its USB id
7

SYNOPSIS

9       struct usb_string {
10         u8 id;
11         const char * s;
12       };
13

MEMBERS

15       id
16           the (nonzero) ID for this string
17
18       s
19           the string, in UTF-8 encoding
20

DESCRIPTION

22       If you're using usb_gadget_get_string, use this to wrap a string
23       together with its ID.
24

AUTHOR

26       David Brownell <dbrownell@users.sourceforge.net>
27           Author.
28
30Kernel Hackers Manual 3.10         June 2019              STRUCT USB_STRING(9)
Impressum