libnvme_init_ctrl-libnvme3(2)

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.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.