| 1 |
.TH "nvme_status_to_errno" 9 "nvme_status_to_errno" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_status_to_errno \- Converts nvme return status to errno |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "__u8" nvme_status_to_errno |
| 6 |
.BI "(int status " "," |
| 7 |
.BI "bool fabrics " ");" |
| 8 |
.SH ARGUMENTS |
| 9 |
.IP "status" 12 |
| 10 |
Return status from an nvme passthrough command |
| 11 |
.IP "fabrics" 12 |
| 12 |
Set to true if \fIstatus\fP is to a fabrics target. |
| 13 |
.SH "RETURN" |
| 14 |
An errno representing the nvme status if it is an nvme status field, |
| 15 |
or unchanged status is < 0 since errno is already set. |