libusb Developers Guide
Prev |  | Next

# usb_release_interface

## Name

usb_release_interface -- Releases a previously claimed interface

## Description

``int usb_release_interface`(usb_dev_handle *dev, int interface);`

`usb_release_interface` releases an interface previously claimed with usb_claim_interface. The interface parameter is the value as specified in the descriptor field bInterfaceNumber. Returns 0 on success or < 0 on error.

Prev | Home | Next
usb_claim_interface | Up | Control Transfers