.TH "libnvme_ctrl_get_firmware" 9 "libnvme_ctrl_get_firmware" "October 2026" "libnvme API manual" LINUX .SH NAME libnvme_ctrl_get_firmware \- Get firmware. .SH SYNOPSIS .B "int" libnvme_ctrl_get_firmware .BI "(const struct libnvme_ctrl *p " "," .BI "const char **firmware " "," .BI "const char *dflt " ");" .SH ARGUMENTS .IP "p" 12 The \fIstruct libnvme_ctrl\fP instance to query. .IP "firmware" 12 Where to store the value on success. .IP "dflt" 12 Value to store in \fIfirmware\fP on failure. .SH "RETURN" 0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.