---
name: "nvme_status_equals-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_status_equals-libnvme3"
---

# nvme\_status\_equals-libnvme3(2)

helper to check a status against a type and value

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

- status

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

- type

  the status type

- value

  the status value

## RETURN

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