libusb.3 (14b896ce80daad378a70a125ca15c2e23cd8d34b) | libusb.3 (0f2c706643ff211ce1e1eb0cfbc3c05bc67f2311) |
---|---|
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 June 16, 2016 | 29.Dd June 17, 2016 |
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 --- 63 unchanged lines hidden (view full) --- 101is set to 1 all devices in the list have their reference 102counter decremented once. 103.Pp 104.Ft uint8_t 105.Fn libusb_get_bus_number "libusb_device *dev" 106Returns the number of the bus contained by the device 107.Fa dev . 108.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 --- 63 unchanged lines hidden (view full) --- 101is set to 1 all devices in the list have their reference 102counter decremented once. 103.Pp 104.Ft uint8_t 105.Fn libusb_get_bus_number "libusb_device *dev" 106Returns the number of the bus contained by the device 107.Fa dev . 108.Pp |
109.Ft uint8_t 110.Fn libusb_get_port_number "libusb_device *dev" 111Returns the port number which the device given by 112.Fa dev 113is attached to. 114.Pp |
|
109.Ft int 110.Fn libusb_get_port_numbers "libusb_device *dev" "uint8_t *buf" "uint8_t bufsize" 111Stores, in the buffer 112.Fa buf 113of size 114.Fa bufsize , 115the list of all port numbers from root for the device 116.Fa dev . --- 486 unchanged lines hidden --- | 115.Ft int 116.Fn libusb_get_port_numbers "libusb_device *dev" "uint8_t *buf" "uint8_t bufsize" 117Stores, in the buffer 118.Fa buf 119of size 120.Fa bufsize , 121the list of all port numbers from root for the device 122.Fa dev . --- 486 unchanged lines hidden --- |