struct_usb_string(9)

struct_usb_string9

Wraps a c string and its usb id

Usage

struct usb_string {
  u8 id;
  const char * s;
};  

Members

id

the (nonzero) ID for this string

s

the string, in UTF-8 encoding

Overview

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

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

David Brownell <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.