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

# [NAME](#NAME)

libnvme\_mi\_status\_to\_string - return a string representation of the MI status.

# [SYNOPSIS](#SYNOPSIS)

**const char * libnvme\_mi\_status\_to\_string** **(int status );**

# [ARGUMENTS](#ARGUMENTS)

[status](#status)

MI response status

# [DESCRIPTION](#DESCRIPTION)

Gives a string description of *status*, as per section 4.1.2 of the NVMe-MI spec. The status value should be of type NVME\_STATUS\_MI, and extracted from the return value using **nvme\_status\_get\_value**.

Returned string is const, and should not be **free**ed.

# [RETURN](#RETURN)

A string representing the status value

libnvme\_mi\_status\_to\_string September 2026

---

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