summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_mi_status_to_string.2
blob: 53ad2003dcf8859776b79e47b244a4d3185a10d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.TH "nvme_mi_status_to_string" 9 "nvme_mi_status_to_string" "December 2023" "libnvme API manual" LINUX
.SH NAME
nvme_mi_status_to_string \- return a string representation of the MI status.
.SH SYNOPSIS
.B "const char *" nvme_mi_status_to_string
.BI "(int status "  ");"
.SH ARGUMENTS
.IP "status" 12
MI response status
.SH "DESCRIPTION"
Gives a string description of \fIstatus\fP, 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 \fBnvme_status_get_value\fP.

Returned string is const, and should not be \fBfree\fPed.
.SH "RETURN"
A string representing the status value