libnvme_ctrl_identify(9) libnvme API manual libnvme_ctrl_identify(9)

libnvme_ctrl_identify - Issues an 'identify controller' command

int libnvme_ctrl_identify (struct libnvme_ctrl *c , struct nvme_id_ctrl *id );

Controller instance
Identify controller data structure

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

0 on success, negative error code otherwise.

libnvme_ctrl_identify September 2026