'\" t .\" Title: scsi_inq_str .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SCSI_INQ_STR" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" scsi_inq_str \- print INQUIRY data from min to max index, strip trailing whitespace .SH "SYNOPSIS" .HP \w'unsigned\ char\ *\ scsi_inq_str('u .BI "unsigned char * scsi_inq_str(unsigned\ char\ *\ " "buf" ", unsigned\ char\ *\ " "inq" ", unsigned\ " "first" ", unsigned\ " "end" ");" .SH "ARGUMENTS" .PP \fIbuf\fR .RS 4 Output buffer with at least end\-first+1 bytes of space .RE .PP \fIinq\fR .RS 4 Inquiry buffer (input) .RE .PP \fIfirst\fR .RS 4 Offset of string into inq .RE .PP \fIend\fR .RS 4 Index after last character in inq .RE .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br