.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "USB_DESCRIPTOR_FILLBUF" "9" "09 October 2005" "" ""
.SH NAME
usb_descriptor_fillbuf \- fill buffer with descriptors
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int usb_descriptor_fillbuf (void * \fIbuf\fB, unsigned \fIbuflen\fB, const struct usb_descriptor_header ** \fIsrc\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIbuf\fB\fR
Buffer to be filled
.TP
\fB\fIbuflen\fB\fR
Size of buf
.TP
\fB\fIsrc\fB\fR
Array of descriptor pointers, terminated by null pointer.
.SH "DESCRIPTION"
.PP
Copies descriptors into the buffer, returning the length or a
negative error code if they can't 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.