libnvme_opcode_status_to_string-libnvme32
Returns nvme opcode status string.
Usage
const char * libnvme_opcode_status_to_string (int status , bool admin , __u8 opcode );
Arguments
status
|
Return status from an nvme passthrough command |
|---|---|
admin
|
Set to true if an admin command |
opcode
|
Opcode from an nvme passthrough command |
Return
The nvme opcode status string if it is an nvme status field, or a standard errno string if status is < 0.