libnvmf_connect_ctrl(9) libnvme API manual libnvmf_connect_ctrl(9)

libnvmf_connect_ctrl - Connect a controller

int libnvmf_connect_ctrl (struct libnvme_ctrl *c );

Controller to be connected

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

0 on success, negative error code otherwise.

libnvmf_connect_ctrl September 2026