libusb.3 (b652778e426d00b6a1df29bbd86869db86f36e25) | libusb.3 (5906bf4984400c498b0b3d8f572ec8d18c5b13c7) |
---|---|
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: --- 12 unchanged lines hidden (view full) --- 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$ 28.\" | 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: --- 12 unchanged lines hidden (view full) --- 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$ 28.\" |
29.Dd May 7, 2012 | 29.Dd May 7, 2013 |
30.Dt LIBUSB 3 31.Os 32.Sh NAME 33.Nm libusb 34.Nd "USB access library" 35.Sh LIBRARY 36USB access library 37.Pq libusb, -lusb --- 59 unchanged lines hidden (view full) --- 97is set to 1 all devices in the list have their reference 98counter decremented once. 99.Pp 100.Ft uint8_t 101.Fn libusb_get_bus_number "libusb_device *dev" 102Returns the number of the bus contained by the device 103.Fa dev . 104.Pp | 30.Dt LIBUSB 3 31.Os 32.Sh NAME 33.Nm libusb 34.Nd "USB access library" 35.Sh LIBRARY 36USB access library 37.Pq libusb, -lusb --- 59 unchanged lines hidden (view full) --- 97is set to 1 all devices in the list have their reference 98counter decremented once. 99.Pp 100.Ft uint8_t 101.Fn libusb_get_bus_number "libusb_device *dev" 102Returns the number of the bus contained by the device 103.Fa dev . 104.Pp |
105.Ft int 106.Fn libusb_get_port_path "libusb_context *ctx" "libusb_device *dev" "uint8_t *buf" "uint8_t bufsize" 107Stores, in the buffer 108.Fa buf 109of size 110.Fa bufsize , 111the list of all port numbers from root for the device 112.Fa dev . 113.Pp |
|
105.Ft uint8_t 106.Fn libusb_get_device_address "libusb_device *dev" 107Returns the device_address contained by the device 108.Fa dev . 109.Pp 110.Ft enum libusb_speed 111.Fn libusb_get_device_speed "libusb_device *dev" 112Returns the wire speed at which the device is connected. --- 444 unchanged lines hidden --- | 114.Ft uint8_t 115.Fn libusb_get_device_address "libusb_device *dev" 116Returns the device_address contained by the device 117.Fa dev . 118.Pp 119.Ft enum libusb_speed 120.Fn libusb_get_device_speed "libusb_device *dev" 121Returns the wire speed at which the device is connected. --- 444 unchanged lines hidden --- |