libusb Developers Guide
Prev |  | Next

# usb_bulk_write

## Name

usb_bulk_write -- Write data to a bulk endpoint

## Description

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

`usb_bulk_write` performs a bulk write request to the endpoint specified by `ep`. Returns number of bytes written on success or < 0 on error.

Prev | Home | Next
Bulk Transfers | Up | usb_bulk_read