usb_get_from_anchor
Prev | Chapter 5. USB Core APIs | Next

## Name

usb_get_from_anchor — get an anchor's oldest urb

## Synopsis

`struct urb * usb_get_from_anchor (` | struct usb_anchor * anchor`)`;

## Arguments

`anchor`

  the anchor whose urb you want

## Description

This will take the oldest urb from an anchor, unanchor and return it

## Return

The oldest urb from `anchor`, or `NULL` if `anchor` has no urbs associated with it.

Prev | Up | Next
usb_wait_anchor_empty_timeout | Home | usb_scuttle_anchored_urbs