---
name: "scsi_inq_str"
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/scsi_inq_str"
---

# scsi\_inq\_str(9)

print INQUIRY data from min to max index, strip trailing whitespace

## NAME

scsi\_inq\_str - print INQUIRY data from min to max index, strip trailing whitespace

## SYNOPSIS

**unsigned char \* scsi\_inq\_str(unsigned char \*** *buf***, unsigned char \*** *inq***, unsigned** *first***, unsigned** *end***);**

## ARGUMENTS

*buf*

Output buffer with at least end-first+1 bytes of space

*inq*

Inquiry buffer (input)

*first*

Offset of string into inq

*end*

Index after last character in inq

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
