usb_gadget_config_buf (9) Linux Manual Page
usb_gadget_config_buf – builts a complete configuration descriptor Synopsis int usb_gadget_config_buf(const struct usb_config_descriptor *config, void *buf, unsigned length, const struct usb_descriptor_header **desc); Arguments config Header for the descriptor, including characteristics such as power requirements and number of interfaces. buf Buffer for the resulting configuration descriptor. length Length of buffer. If this is not big enough to…
