'\" t .\" Title: usb_wait_anchor_empty_timeout .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "USB_WAIT_ANCHOR_EMPT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "USB Core APIs" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" usb_wait_anchor_empty_timeout \- wait for an anchor to be unused .SH "SYNOPSIS" .HP \w'int\ usb_wait_anchor_empty_timeout('u .BI "int usb_wait_anchor_empty_timeout(struct\ usb_anchor\ *\ " "anchor" ", unsigned\ int\ " "timeout" ");" .SH "ARGUMENTS" .PP \fIanchor\fR .RS 4 the anchor you want to become unused .RE .PP \fItimeout\fR .RS 4 how long you are willing to wait in milliseconds .RE .SH "DESCRIPTION" .PP Call this is you want to be sure all an anchor\*(Aqs URBs have finished .SH "RETURN" .PP Non\-zero if the anchor became unused\&. Zero on timeout\&. .SH "COPYRIGHT" .br