usb_wait_anchor_empty_timeout(9)

usb_wait_anchor_empty_timeout9

Wait for an anchor to be unused

Usage

int usb_wait_anchor_empty_timeout(struct usb_anchor * anchor, unsigned int timeout);

Arguments

anchor

the anchor you want to become unused

timeout

how long you are willing to wait in milliseconds

Overview

Call this is you want to be sure all an anchor's URBs have finished

Return

Non-zero if the anchor became unused. Zero on timeout.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.