1. NAME▲
usb_descriptor_fillbuf - fill buffer with descriptors
2. SYNOPSIS ▲
int usb_descriptor_fillbuf(void * buf , unsigned buflen , const struct usb_descriptor_header ** src );
3. ARGUMENTS ▲
buf
Buffer to be filled
buflen
Size of buf
src
Array of descriptor pointers, terminated by null pointer.
4. DESCRIPTION ▲
Copies descriptors into the buffer, returning the length or a negative error code if they canAqt all be copied. Useful when assembling descriptors for an associated set of interfaces used as part of configuring a composite device; or in other cases where sets of descriptors need to be marshaled.
5. AUTHOR ▲
David Brownell <>
Author.
6. COPYRIGHT ▲