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

nvme_init_ctrl - Initialize nvme_ctrl_t object for an existing controller.

int nvme_init_ctrl (nvme_host_t h , nvme_ctrl_t c , int instance );

nvme_host_t object
nvme_ctrl_t object
Instance number (e.g. 1 for nvme1)

The ioctl return code. Typically 0 on success.

nvme_init_ctrl January 2023