1USB_DESCRIPTOR_FILLB(9)     Kernel Mode Gadget API     USB_DESCRIPTOR_FILLB(9)
2
3
4

NAME

6       usb_descriptor_fillbuf - fill buffer with descriptors
7

SYNOPSIS

9       int usb_descriptor_fillbuf(void * buf, unsigned buflen,
10                                  const struct usb_descriptor_header ** src);
11

ARGUMENTS

13       buf
14           Buffer to be filled
15
16       buflen
17           Size of buf
18
19       src
20           Array of descriptor pointers, terminated by null pointer.
21

DESCRIPTION

23       Copies descriptors into the buffer, returning the length or a negative
24       error code if they canĀ“t all be copied. Useful when assembling
25       descriptors for an associated set of interfaces used as part of
26       configuring a composite device; or in other cases where sets of
27       descriptors need to be marshaled.
28

AUTHOR

30       David Brownell <dbrownell@users.sourceforge.net>
31           Author.
32
34Kernel Hackers Manual 2.6.         June 2019           USB_DESCRIPTOR_FILLB(9)
Impressum