usb_get_driver_np

libusb Developers Guide
Prev |  | Next

# usb_get_driver_np

## Name

usb_get_driver_np -- Get driver name bound to interface

## Description

``int usb_get_driver_np`(usb_dev_handle *dev, int interface, char *name, int namelen);`

This function will obtain the name of the driver bound to the interface specified by the parameter `interface` and place it into the buffer named `name` limited to `namelen` characters. Returns 0 on success or < 0 on error.

Implemented on Linux only.

Prev | Home | Next
Non Portable | Up | usb_detach_kernel_driver_np