---
name: "usb_find_endpoint"
section: "9"
platform: "linux"
package: "linux-manual-2.6.32"
version: "2.6.32-48squeeze6"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/usb_find_endpoint"
---

# usb\_find\_endpoint(9)

find a copy of an endpoint descriptor

## NAME

usb\_find\_endpoint - find a copy of an endpoint descriptor

## SYNOPSIS

**struct usb\_endpoint\_descriptor \* usb\_find\_endpoint(struct usb\_descriptor\_header \*\*** *src***, struct usb\_descriptor\_header \*\*** *copy***, struct usb\_endpoint\_descriptor \*** *match***);**

## ARGUMENTS

*src*

original vector of descriptors

*copy*

copy of *src*

*match*

endpoint descriptor found in *src*

## DESCRIPTION

This returns the copy of the *match* descriptor made for *copy*. Its intended use is to help remembering the endpoint descriptor to use when enabling a given endpoint.

## AUTHOR

**David Brownell** \<dbrownell@users.sourceforge.net\>

Author.

## COPYRIGHT
