KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21572/root/usr/share/doc/libusb-devel-0.1.12/html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21572/root/usr/share/doc/libusb-devel-0.1.12/html/function.usbgetdescriptor.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>usb_get_descriptor</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="libusb Developers Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="Control Transfers"
HREF="ref.control.html"><LINK
REL="PREVIOUS"
TITLE="usb_get_string_simple"
HREF="function.usbgetstringsimple.html"><LINK
REL="NEXT"
TITLE="usb_get_descriptor_by_endpoint"
HREF="function.usbgetdescriptorbyendpoint.html"><LINK
REL="STYLESHEET"
TYPE="text/css"
HREF="/base.css"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>libusb Developers Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.usbgetstringsimple.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.usbgetdescriptorbyendpoint.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="FUNCTION.USBGETDESCRIPTOR"
></A
>usb_get_descriptor</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN408"
></A
><H2
>Name</H2
>usb_get_descriptor&nbsp;--&nbsp;Retrieves a descriptor from a device's default control pipe</DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN411"
></A
><H2
>Description</H2
><DIV
CLASS="FUNCSYNOPSIS"
><P
></P
><A
NAME="AEN413"
></A
><P
><CODE
><CODE
CLASS="FUNCDEF"
>int usb_get_descriptor</CODE
>(usb_dev_handle *dev, unsigned char type, unsigned char index, void *buf, int size);</CODE
></P
><P
></P
></DIV
><P
><CODE
CLASS="FUNCTION"
>usb_get_descriptor</CODE
> retrieves a descriptor from the device identified by the <CODE
CLASS="VARNAME"
>type</CODE
> and <CODE
CLASS="VARNAME"
>index</CODE
> of the descriptor from the default control pipe. Returns number of bytes read for the descriptor or &lt; 0 on error.</P
><P
>See <A
HREF="function.usbgetdescriptorbyendpoint.html"
>usb_get_descriptor_by_endpoint</A
> for a function that allows the control endpoint to be specified.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.usbgetstringsimple.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.usbgetdescriptorbyendpoint.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>usb_get_string_simple</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.control.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>usb_get_descriptor_by_endpoint</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>

Anon7 - 2021