usb_copy_descriptors(9)

usb_copy_descriptors9

Copy a vector of usb descriptors

Usage

struct usb_descriptor_header ** usb_copy_descriptors(struct usb_descriptor_header ** src);

Arguments

src

null-terminated vector to copy

Context

initialization code, which may sleep

Overview

This 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.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 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.