---
name: "usb_hub_for_each_child"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/usb_hub_for_each_child"
---

# usb\_hub\_for\_each\_child(9)

iterate over all child devices on the hub

## NAME

usb\_hub\_for\_each\_child - iterate over all child devices on the hub

## SYNOPSIS

**usb\_hub\_for\_each\_child(***hdev***,** *port1***,** *child***);**

## ARGUMENTS

*hdev*

USB device belonging to the usb hub

*port1*

portnum associated with child device

*child*

child device pointer

## COPYRIGHT
