libusb.3 (195957) | libusb.3 (210823) |
---|---|
1.\" 2.\" Copyright (c) 2009 Sylvestre Gallon 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 10 unchanged lines hidden (view full) --- 19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" | 1.\" 2.\" Copyright (c) 2009 Sylvestre Gallon 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 10 unchanged lines hidden (view full) --- 19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" |
27.\" $FreeBSD: head/lib/libusb/libusb.3 195957 2009-07-30 00:11:41Z alfred $ | 27.\" $FreeBSD: head/lib/libusb/libusb.3 210823 2010-08-03 17:40:09Z joel $ |
28.\" 29.Dd June 22, 2009 30.Dt LIBUSB 3 31.Os 32.Sh NAME 33.Nm libusb 34. 35.Nd "USB access library" --- 159 unchanged lines hidden (view full) --- 195been disconnected and a LIBUSB_ERROR code on failure. 196. 197.Pp 198. 199.Ft int 200.Fn libusb_release_interface "libusb_device_handle *devh" "int interface_number" 201This function release an interface. All the claimed interface must be released 202before closing a device. Returns 0 on success, LIBUSB_ERROR_NOT_FOUND if the | 28.\" 29.Dd June 22, 2009 30.Dt LIBUSB 3 31.Os 32.Sh NAME 33.Nm libusb 34. 35.Nd "USB access library" --- 159 unchanged lines hidden (view full) --- 195been disconnected and a LIBUSB_ERROR code on failure. 196. 197.Pp 198. 199.Ft int 200.Fn libusb_release_interface "libusb_device_handle *devh" "int interface_number" 201This function release an interface. All the claimed interface must be released 202before closing a device. Returns 0 on success, LIBUSB_ERROR_NOT_FOUND if the |
203interafce was not claimed, LIBUSB_ERROR_NO_DEVICE if the device has been | 203interface was not claimed, LIBUSB_ERROR_NO_DEVICE if the device has been |
204disconnected and LIBUSB_ERROR on failure. 205. 206.Pp 207. 208.Ft int 209.Fn libusb_set_interface_alt_setting "libusb_device_handle *dev" "int interface_number" "int alternate_setting" 210Activate an alternate setting for an interface. Returns 0 on success, 211LIBUSB_ERROR_NOT_FOUND if the interface was not claimed or the requested --- 292 unchanged lines hidden --- | 204disconnected and LIBUSB_ERROR on failure. 205. 206.Pp 207. 208.Ft int 209.Fn libusb_set_interface_alt_setting "libusb_device_handle *dev" "int interface_number" "int alternate_setting" 210Activate an alternate setting for an interface. Returns 0 on success, 211LIBUSB_ERROR_NOT_FOUND if the interface was not claimed or the requested --- 292 unchanged lines hidden --- |