'\" t .\" Title: struct usb_string .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Kernel Mode Gadget API .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "STRUCT USB_STRING" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "Kernel Mode Gadget API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" struct_usb_string \- wraps a C string and its USB id .SH "SYNOPSIS" .sp .nf struct usb_string { u8 id; const char * s; }; .fi .SH "MEMBERS" .PP id .RS 4 the (nonzero) ID for this string .RE .PP s .RS 4 the string, in UTF\-8 encoding .RE .SH "DESCRIPTION" .PP If you\*(Aqre using \fBusb_gadget_get_string\fR, use this to wrap a string together with its ID\&. .SH "AUTHOR" .PP \fBDavid Brownell\fR <\&dbrownell@users.sourceforge.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br