libnvme_init_ctrl-libnvme32
Initialize struct libnvme_ctrl object for an existing controller.
Usage
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.