libusb Developers Guide
Prev |  | Next

# usb_interrupt_write

## Name

usb_interrupt_write -- Write data to an interrupt endpoint

## Description

``int usb_interrupt_write`(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout);`

`usb_interrupt_write` performs an interrupt write request to the endpoint specified by `ep`. Returns number of bytes written on success or < 0 on error.

Prev | Home | Next
Interrupt Transfers | Up | usb_interrupt_read