libusb20.3 (274496044deb7b60c6396b0571c1b8ceb2f38d7a) | libusb20.3 (4d2472aa7bc90cbd437975f90cd2da0ba1b1f534) |
---|---|
1.\" 2.\" Copyright (c) 2008 Hans Petter Selasky 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: --- 600 unchanged lines hidden (view full) --- 609. 610A negative value is returned when no file descriptor is present. 611. 612The file descriptor can be used for polling purposes. 613. 614.Pp 615. 616.Fn libusb20_dev_kernel_driver_active | 1.\" 2.\" Copyright (c) 2008 Hans Petter Selasky 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: --- 600 unchanged lines hidden (view full) --- 609. 610A negative value is returned when no file descriptor is present. 611. 612The file descriptor can be used for polling purposes. 613. 614.Pp 615. 616.Fn libusb20_dev_kernel_driver_active |
617returns a non-zero value if a kernel driver is active on 618the given USB interface. | 617returns zero if a kernel driver is active on the given USB interface. |
619. | 618. |
620Else zero is returned. | 619Else a LIBUSB20_ERROR value is returned. |
621. 622.Pp 623. 624.Fn libusb20_dev_open 625opens an USB device so that setting up USB transfers 626becomes possible. 627. 628The number of USB transfers can be zero which means only control --- 407 unchanged lines hidden --- | 620. 621.Pp 622. 623.Fn libusb20_dev_open 624opens an USB device so that setting up USB transfers 625becomes possible. 626. 627The number of USB transfers can be zero which means only control --- 407 unchanged lines hidden --- |