libnvme_opcode_status_to_string(9)

NAME
libnvme_opcode_status_to_string - Returns nvme opcode status string.

SYNOPSIS
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.