Query: usb_copy_descriptors
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_COPY_DESCRIPTORS(9) Kernel Mode Gadget API USB_COPY_DESCRIPTORS(9)NAMEusb_copy_descriptors - copy a vector of USB descriptorsSYNOPSISstruct usb_descriptor_header ** usb_copy_descriptors(struct usb_descriptor_header ** src);ARGUMENTSsrc null-terminated vector to copyCONTEXTinitialization code, which may sleepDESCRIPTIONThis makes a copy of a vector of USB descriptors. Its primary use is to support usb_function objects which can have multiple copies, each needing different descriptors. Functions may have static tables of descriptors, which are used as templates and customized with identifiers (for interfaces, strings, endpoints, and more) as needed by a given function instance.AUTHORDavid Brownell <dbrownell@users.sourceforge.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 USB_COPY_DESCRIPTORS(9)