DOKK / manpages / debian 12 / libnvme-dev / nvme_status_to_string.2.en
nvme_status_to_string(2) libnvme API manual nvme_status_to_string(2)

nvme_status_to_string - Returns string describing nvme return status.

const char * nvme_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.

nvme_status_to_string January 2023