| 1 |
.TH "nvme_mi_status_to_string" 9 "nvme_mi_status_to_string" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_status_to_string \- return a string representation of the MI status. |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "const char *" nvme_mi_status_to_string |
| 6 |
.BI "(int status " ");" |
| 7 |
.SH ARGUMENTS |
| 8 |
.IP "status" 12 |
| 9 |
MI response status |
| 10 |
.SH "DESCRIPTION" |
| 11 |
Gives a string description of \fIstatus\fP, as per section 4.1.2 of the NVMe-MI |
| 12 |
spec. The status value should be of type NVME_STATUS_MI, and extracted |
| 13 |
from the return value using \fBnvme_status_get_value\fP. |
| 14 |
|
| 15 |
Returned string is const, and should not be \fBfree\fPed. |
| 16 |
.SH "RETURN" |
| 17 |
A string representing the status value |