.TH "libnvme_scan_ctrl" 9 "libnvme_scan_ctrl" "September 2026" "libnvme API manual" LINUX .SH NAME libnvme_scan_ctrl \- Scan on a controller .SH SYNOPSIS .B "int" libnvme_scan_ctrl .BI "(struct libnvme_global_ctx *ctx " "," .BI "const char *name " "," .BI "struct libnvme_ctrl **c " ");" .SH ARGUMENTS .IP "ctx" 12 struct libnvme_global_ctx object .IP "name" 12 Name of the controller .IP "c" 12 \fIstruct\fP libnvme_ctrl object to return .SH "DESCRIPTION" Scans a controller with sysfs name \fIname\fP and add it to \fIr\fP. .SH "RETURN" 0 on success, negative error code otherwise.