carta
struct_usb_string(9)

struct_usb_string9

Wraps a c string and its usb id

Usage

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.

History

  • Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)

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.