centos man page for usb_for_each_dev

Query: usb_for_each_dev

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

USB_FOR_EACH_DEV(9)						   USB Core APIs					       USB_FOR_EACH_DEV(9)

NAME
usb_for_each_dev - iterate over all USB devices in the system
SYNOPSIS
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
DESCRIPTION
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.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 USB_FOR_EACH_DEV(9)
Related Man Pages
usb_control_msg(9) - centos
usb_make_path(9) - centos
usb_sg_init(9) - centos
ehci(4) - netbsd
ehci(4) - freebsd
Similar Topics in the Unix Linux Community
How to increment version inside a file?
Docker learning Phase-I
Unsure why access time on a directory change isn't changing
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!