---
name: "usb_state_string"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/usb_state_string"
---

# usb\_state\_string(9)

Returns human readable name for the state.

## NAME

usb\_state\_string - Returns human readable name for the state.

## SYNOPSIS

**const char \* usb\_state\_string(enum usb\_device\_state** *state***);**

## ARGUMENTS

*state*

The state to return a human-readable name for. If it's not any of the states devices in usb\_device\_state\_string enum, the string UNKNOWN will be returned.

## AUTHOR

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

Author.

## COPYRIGHT
