doc/man/nvmf_connect_ctrl.2
raw| 1 | .TH "nvmf_connect_ctrl" 9 "nvmf_connect_ctrl" "November 2025" "libnvme API manual" LINUX |
| 2 | .SH NAME |
| 3 | nvmf_connect_ctrl \- Connect a controller |
| 4 | .SH SYNOPSIS |
| 5 | .B "int" nvmf_connect_ctrl |
| 6 | .BI "(nvme_ctrl_t c " ");" |
| 7 | .SH ARGUMENTS |
| 8 | .IP "c" 12 |
| 9 | Controller to be connected |
| 10 | .SH "DESCRIPTION" |
| 11 | Issues a 'connect' command to the NVMe-oF controller. |
| 12 | \fIc\fP must be initialized and not connected to the topology. |
| 13 | .SH "RETURN" |
| 14 | 0 on success; on failure errno is set and -1 is returned. |