DOKK / manpages / debian 12 / libnvme-dev / nvme_ctrl_identify.2.en
nvme_ctrl_identify(2) libnvme API manual nvme_ctrl_identify(2)

nvme_ctrl_identify - Issues an 'identify controller' command

int nvme_ctrl_identify (nvme_ctrl_t 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 or -1 on failure.

nvme_ctrl_identify January 2023