.TH "libnvme_mi_ctrl_id" 9 "libnvme_mi_ctrl_id" "September 2026" "libnvme API manual" LINUX .SH NAME libnvme_mi_ctrl_id \- get the ID of a controller .SH SYNOPSIS .B "__u16" libnvme_mi_ctrl_id .BI "(struct libnvme_transport_handle *hdl " ");" .SH ARGUMENTS .IP "hdl" 12 transport handle to controller to query .SH "DESCRIPTION" Retrieve the ID of the controller, as defined by hardware, and available in the Identify (Controller List) data. This is the value passed to \fIlibnvme_mi_init_transport_handle\fP, but may have been created internally via \fIlibnvme_mi_scan_ep\fP. .SH "RETURN" the (locally-stored) ID of this controller.