libnvme_init_ctrl(9)

NAME
libnvme_init_ctrl - Initialize struct libnvme_ctrl object for an existing controller.

SYNOPSIS
int libnvme_init_ctrl (struct libnvme_host *h , struct libnvme_ctrl *c , int instance );

ARGUMENTS

h   struct libnvme_host object

c   struct libnvme_ctrl object

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

RETURN
0 on success, negative error code otherwise.