nvme\_status\_equals(9) libnvme API manual nvme\_status\_equals(9)

# [NAME](#NAME)

nvme\_status\_equals - helper to check a status against a type and value

# [SYNOPSIS](#SYNOPSIS)

**\_\_u32 nvme\_status\_equals** **(int status ,** **enum nvme\_status\_type type ,** **unsigned int value );**

# [ARGUMENTS](#ARGUMENTS)

[status](#status)

the (non-negative) return value from the NVMe API

[type](#type)

the status type

[value](#value)

the status value

# [RETURN](#RETURN)

true if *status* is of the specified type and value

nvme\_status\_equals October 2026

---

Document: nvme_status_equals-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
