Reference

libnvme_init_ctrl-libnvme3(2)

Initialize struct libnvme_ctrl object for an existing controller.

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.