libusb Developers Guide
Prev |  | Next

# usb_get_string_simple

## Name

usb_get_string_simple -- Retrieves a string descriptor from a device using the first language

## Description

``int usb_get_string_simple`(usb_dev_handle *dev, int index, char *buf, size_t buflen);`

`usb_get_string_simple` is a wrapper around `usb_get_string` that retrieves the string description specified by index in the first language for the descriptor and converts it into C style ASCII.

Prev | Home | Next
usb_get_string | Up | Bulk Transfers