usb_interrupt_read

Name

usb_interrupt_read  -- Read data from a interrupt endpoint

Description

int usb_interrupt_read (usb_dev_handle *dev); int ep); char *bytes); int size); int timeout);

usb_interrupt_read performs a interrupt read request to the endpoint specified by ep. Returns number of bytes read on success or 0 on error.