Scroll to navigation

libnvme_opcode_status_to_string(9) libnvme API manual 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

Return status from an nvme passthrough command
Set to true if an admin command
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.

libnvme_opcode_status_to_string July 2026