---
name: "libnvme_ns_identify-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/libnvme_ns_identify-libnvme3"
---

# libnvme\_ns\_identify-libnvme3(2)

Issue an 'identify namespace' command

## NAME

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

## SYNOPSIS

**int libnvme\_ns\_identify** **(struct libnvme\_ns \*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, negative error code otherwise.
