usb_for_each_dev9
Iterate over all usb devices in the system
Usage
int usb_for_each_dev(void * data, int (*fn) (struct usb_device *, void *));
Arguments
data
data pointer that will be handed to the callback function
fn
callback function to be called for each USB device
Overview
Iterate over all USB devices and call fn for each, passing it data. If it returns anything other than 0, we break the iteration prematurely and return that value.
Releases
2 releases since Debian 8 (Jessie); the text changed 1 time.