libusb.3 (225091) | libusb.3 (225659) |
---|---|
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 225091 2011-08-22 21:10:50Z hselasky $ | 27.\" $FreeBSD: head/lib/libusb/libusb.3 225659 2011-09-19 08:52:06Z hselasky $ |
28.\" 29.Dd August 16, 2011 30.Dt LIBUSB 3 31.Os 32.Sh NAME 33.Nm libusb 34.Nd "USB access library" 35.Sh LIBRARY --- 22 unchanged lines hidden (view full) --- 58Must be called at the end of the application. 59Other libusb routines may not be called after this function. 60.Pp 61.Ft const char * 62.Fn libusb_strerror "int code" 63Get the ASCII representation of the error given by the 64.Fa code 65argument. | 28.\" 29.Dd August 16, 2011 30.Dt LIBUSB 3 31.Os 32.Sh NAME 33.Nm libusb 34.Nd "USB access library" 35.Sh LIBRARY --- 22 unchanged lines hidden (view full) --- 58Must be called at the end of the application. 59Other libusb routines may not be called after this function. 60.Pp 61.Ft const char * 62.Fn libusb_strerror "int code" 63Get the ASCII representation of the error given by the 64.Fa code 65argument. |
66This function does not return NULL. |
|
66.Pp | 67.Pp |
68.Ft const char * 69.Fn libusb_error_name "int code" 70Get the ASCII representation of the error enum given by the 71.Fa code 72argument. 73This function does not return NULL. 74.Pp |
|
67.Ft void 68.Fn libusb_set_debug "libusb_context *ctx" "int level" 69Set the debug level to 70.Fa level . 71.Pp 72.Ft ssize_t 73.Fn libusb_get_device_list "libusb_context *ctx" "libusb_device ***list" 74Populate --- 422 unchanged lines hidden (view full) --- 497.Fn usb_device 498.Fn usb_get_busses 499.Fn usb_check_connected 500.Fn usb_get_driver_np 501.Fn usb_detach_kernel_driver_np 502.Sh SEE ALSO 503.Xr libusb20 3 , 504.Xr usb 4 , | 75.Ft void 76.Fn libusb_set_debug "libusb_context *ctx" "int level" 77Set the debug level to 78.Fa level . 79.Pp 80.Ft ssize_t 81.Fn libusb_get_device_list "libusb_context *ctx" "libusb_device ***list" 82Populate --- 422 unchanged lines hidden (view full) --- 505.Fn usb_device 506.Fn usb_get_busses 507.Fn usb_check_connected 508.Fn usb_get_driver_np 509.Fn usb_detach_kernel_driver_np 510.Sh SEE ALSO 511.Xr libusb20 3 , 512.Xr usb 4 , |
505.Xr usbconfig 8 | 513.Xr usbconfig 8 , 514.Xr usbdump 8 |
506.Pp 507.Pa http://libusb.sourceforge.net/ 508.Sh HISTORY 509.Nm 510support first appeared in 511.Fx 8.0 . | 515.Pp 516.Pa http://libusb.sourceforge.net/ 517.Sh HISTORY 518.Nm 519support first appeared in 520.Fx 8.0 . |