libnvme\_ctrl\_identify(9) libnvme API manual libnvme\_ctrl\_identify(9)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [ARGUMENTS](#ARGUMENTS)

[c](#c)

Controller instance

[id](#id)

Identify controller data structure

# [DESCRIPTION](#DESCRIPTION)

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

# [RETURN](#RETURN)

0 on success, negative error code otherwise.

libnvme\_ctrl\_identify October 2026

---

Document: libnvme_ctrl_identify-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
