| libnvmf_add_ctrl(9) | libnvme API manual | libnvmf_add_ctrl(9) |
NAME
libnvmf_add_ctrl - Connect a controller and update topology
SYNOPSIS
int libnvmf_add_ctrl (struct libnvme_host *h , struct libnvme_ctrl *c );
ARGUMENTS
DESCRIPTION
Issues a 'connect' command to the NVMe-oF controller and inserts c into the topology using h as parent. c must be initialized and not connected to the topology.
RETURN
0 on success, negative error code otherwise.
| libnvmf_add_ctrl | September 2026 |