nvme_init_ctrl - Man Page

Initialize nvme_ctrl_t object for an existing controller.

Synopsis

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

Arguments

h

nvme_host_t object

c

nvme_ctrl_t object

instance

Instance number (e.g. 1 for nvme1)

Return

The ioctl return code. Typically 0 on success.

Info

August 2022 libnvme API manual