---
name: "nvme_status_get_value"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_status_get_value"
---

# nvme\_status\_get\_value(2)

extract the status value from a nvme\_\* return value

## NAME

nvme\_status\_get\_value - extract the status value from a nvme\_\* return value

## SYNOPSIS

**\_\_u32 nvme\_status\_get\_value** **(int status** *);*

## ARGUMENTS

- status

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

## RETURN

the value component of the status; the set of values will depend on the status type.
