---
name: "libnvme_ctrl_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_ctrl_identify-libnvme3"
---

# libnvme\_ctrl\_identify-libnvme3(2)

Issues an 'identify controller' command

## NAME

libnvme\_ctrl\_identify - Issues an 'identify controller' command

## SYNOPSIS

**int libnvme\_ctrl\_identify** **(struct libnvme\_ctrl \*c** *,* **struct nvme\_id\_ctrl \*id** *);*

## ARGUMENTS

- c

  Controller instance

- id

  Identify controller data structure

## DESCRIPTION

Issues an 'identify controller' command to *c* and copies the data into *id*.

## RETURN

0 on success, negative error code otherwise.
