| 1 |
.TH "nvme_status_equals" 9 "nvme_status_equals" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_status_equals \- helper to check a status against a type and value |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "__u32" nvme_status_equals |
| 6 |
.BI "(int status " "," |
| 7 |
.BI "enum nvme_status_type type " "," |
| 8 |
.BI "unsigned int value " ");" |
| 9 |
.SH ARGUMENTS |
| 10 |
.IP "status" 12 |
| 11 |
the (non-negative) return value from the NVMe API |
| 12 |
.IP "type" 12 |
| 13 |
the status type |
| 14 |
.IP "value" 12 |
| 15 |
the status value |
| 16 |
.SH "RETURN" |
| 17 |
true if \fIstatus\fP is of the specified type and value |