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

# nvme\_ns\_identify(2)

Issue an 'identify namespace' command

## NAME

nvme\_ns\_identify - Issue an 'identify namespace' command

## SYNOPSIS

**int nvme\_ns\_identify** **(nvme\_ns\_t n** *,* **struct nvme\_id\_ns \*ns** *);*

## ARGUMENTS

- n

  Namespace instance

- ns

  *nvme\_id\_ns* buffer

## DESCRIPTION

Writes the data returned by the 'identify namespace' command into *ns*.

## RETURN

0 on success, -1 on error.
