libusb.3 (194674) | libusb.3 (195957) |
---|---|
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 194674 2009-06-23 01:00:26Z thompsa $ | 27.\" $FreeBSD: head/lib/libusb/libusb.3 195957 2009-07-30 00:11:41Z alfred $ |
28.\" 29.Dd June 22, 2009 30.Dt LIBUSB 3 31.Os 32.Sh NAME 33.Nm libusb 34. 35.Nd "USB access library" --- 253 unchanged lines hidden (view full) --- 289.Fn libusb_get_config_descriptor_by_value "libusb_device *dev" "uint8 bConfigurationValue" "libusb_config_descriptor **config" 290Get a USB configuration descriptor with a specific bConfigurationValue. This is 291a non-blocking function which does not send request through the device. Returns 0 292on success, LIBUSB_ERROR_NOT_FOUND if the configuration does not exist and another 293LIBUSB_ERROR code on failure. 294. 295.Pp 296.Ft void | 28.\" 29.Dd June 22, 2009 30.Dt LIBUSB 3 31.Os 32.Sh NAME 33.Nm libusb 34. 35.Nd "USB access library" --- 253 unchanged lines hidden (view full) --- 289.Fn libusb_get_config_descriptor_by_value "libusb_device *dev" "uint8 bConfigurationValue" "libusb_config_descriptor **config" 290Get a USB configuration descriptor with a specific bConfigurationValue. This is 291a non-blocking function which does not send request through the device. Returns 0 292on success, LIBUSB_ERROR_NOT_FOUND if the configuration does not exist and another 293LIBUSB_ERROR code on failure. 294. 295.Pp 296.Ft void |
297.Fn libusb_free_config_descriptor "libusb_config_descriptor *config`" | 297.Fn libusb_free_config_descriptor "libusb_config_descriptor *config" |
298Free a configuration descriptor. 299. 300.Pp 301.Ft int 302.Fn libusb_get_string_descriptor_ascii "libusb_device_handle *devh" "uint8_t desc_idx" "unsigned char *data" "int length" 303Retrieve a string descriptor in C style ascii. Returns a number of byte on success 304and a LIBUSB_ERROR code on failure. 305. --- 198 unchanged lines hidden --- | 298Free a configuration descriptor. 299. 300.Pp 301.Ft int 302.Fn libusb_get_string_descriptor_ascii "libusb_device_handle *devh" "uint8_t desc_idx" "unsigned char *data" "int length" 303Retrieve a string descriptor in C style ascii. Returns a number of byte on success 304and a LIBUSB_ERROR code on failure. 305. --- 198 unchanged lines hidden --- |