usb_string_id(9) centos man page | unix.com

Man Page: usb_string_id

Operating Environment: centos

Section: 9

USB_STRING_ID(9)					      Kernel Mode Gadget API						  USB_STRING_ID(9)

NAME
usb_string_id - allocate an unused string ID
SYNOPSIS
int usb_string_id(struct usb_composite_dev * cdev);
ARGUMENTS
cdev the device whose string descriptor IDs are being allocated
CONTEXT
single threaded during gadget setup
DESCRIPTION
usb_string_id() is called from bind callbacks to allocate string IDs. Drivers for functions, configurations, or gadgets will then store that ID in the appropriate descriptors and string table. All string identifier should be allocated using this, usb_string_ids_tab() or usb_string_ids_n() routine, to ensure that for example different functions don't wrongly assign different meanings to the same identifier.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 USB_STRING_ID(9)
Related Man Pages
struct_usb_composite_dev(9) - centos
struct_usb_gadget_driver(9) - centos
struct_usb_composite_driver(9) - centos
usb_gstrings_attach(9) - centos
struct_usb_composite_dev(9) - suse
Similar Topics in the Unix Linux Community
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
Unsure why access time on a directory change isn't changing
Please Welcome Dave Munro to the Moderator Team!