libnvme_init_ctrl(9)

NAME
libnvme_init_ctrl - Initialize libnvme_ctrl_t object for an existing controller.

SYNOPSIS
int libnvme_init_ctrl (libnvme_host_t h , libnvme_ctrl_t c , int instance );

ARGUMENTS

h   libnvme_host_t object

c   libnvme_ctrl_t object

instance
    Instance number (e.g. 1 for nvme1)

RETURN
0 on success, negative error code otherwise.