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

# nvme\_ctrl\_identify(2)

Issues an 'identify controller' command

## NAME

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

## SYNOPSIS

**int nvme\_ctrl\_identify** **(nvme\_ctrl\_t 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 or -1 on failure.
