---
name: "nvme_status_get_type-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_get_type-libnvme3"
---

# nvme\_status\_get\_type-libnvme3(2)

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

## NAME

nvme\_status\_get\_type - extract the type from a nvme\_\* return value

## SYNOPSIS

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

## ARGUMENTS

- status

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

## RETURN

the type component of the status.
