.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SCSI_SENSE_DESC_FIND" "9" "09 October 2005" "" ""
.SH NAME
scsi_sense_desc_find \- search for a given descriptor type in
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
const u8 * scsi_sense_desc_find (const u8 * \fIsense_buffer\fB, int \fIsb_len\fB, int \fIdesc_type\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsense_buffer\fB\fR
byte array of descriptor format sense data
.TP
\fB\fIsb_len\fB\fR
number of valid bytes in sense_buffer
.TP
\fB\fIdesc_type\fB\fR
value of descriptor type to find
(e.g. 0 -> information)
.SH "DESCRIPTION"
.PP
descriptor sense data format.
.SH "NOTES"
.PP
only valid when sense data is in descriptor format
.SH "RETURN VALUE"
.PP
pointer to start of (first) descriptor if found else NULL