Reference

libnvmf_connect_ctrl-libnvme3(2)

Connect a controller

NAME

libnvmf_connect_ctrl - Connect a controller

SYNOPSIS

int libnvmf_connect_ctrl (struct libnvme_ctrl *c );

ARGUMENTS

c

Controller to be connected

DESCRIPTION

Issues a 'connect' command to the NVMe-oF controller. c must be initialized and not connected to the topology.

RETURN

0 on success, negative error code otherwise.