libnvme\_status\_to\_string(9) libnvme API manual libnvme\_status\_to\_string(9)

# [NAME](#NAME)

libnvme\_status\_to\_string - Returns string describing nvme return status.

# [SYNOPSIS](#SYNOPSIS)

**const char * libnvme\_status\_to\_string** **(int status ,** **bool fabrics );**

# [ARGUMENTS](#ARGUMENTS)

[status](#status)

Return status from an nvme passthrough command

[fabrics](#fabrics)

Set to true if *status* is to a fabrics target.

# [RETURN](#RETURN)

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

libnvme\_status\_to\_string September 2026

---

Document: libnvme_status_to_string-libnvme3(2) from nvme-cli 3.1-r1 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
