centos man page for scsi_report_opcode

Query: scsi_report_opcode

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SCSI_REPORT_OPCODE(9)						  SCSI mid layer					     SCSI_REPORT_OPCODE(9)

NAME
scsi_report_opcode - Find out if a given command opcode is supported
SYNOPSIS
int scsi_report_opcode(struct scsi_device * sdev, unsigned char * buffer, unsigned int len, unsigned char opcode);
ARGUMENTS
sdev scsi device to query buffer scratch buffer (must be at least 20 bytes long) len length of buffer opcode opcode for command to look up
DESCRIPTION
Uses the REPORT SUPPORTED OPERATION CODES to look up the given opcode. Returns -EINVAL if RSOC fails, 0 if the command opcode is unsupported and 1 if the device claims to support the command.
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SCSI_REPORT_OPCODE(9)
Related Man Pages
sysfs(2) - opensolaris
gllogicop(3g) - mojave
srp_reconnect_rport(9) - centos
gllogicop(3g) - centos
sysfs(2) - osf1
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Docker learning Phase-I
CentOS 6 ran out of space, need to reclaim it
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!