libnvme_status_to_string(9) libnvme API manual libnvme_status_to_string(9)

libnvme_status_to_string - Returns string describing nvme return status.

const char * libnvme_status_to_string (int status , bool fabrics );

Return status from an nvme passthrough command
Set to true if status is to a fabrics target.

String representation of the nvme status if it is an nvme status field, or a standard errno string if status is < 0.

libnvme_status_to_string September 2026