.TH "libnvme_get_ctrl_attr" 9 "libnvme_get_ctrl_attr" "September 2026" "libnvme API manual" LINUX .SH NAME libnvme_get_ctrl_attr \- Read controller sysfs attribute .SH SYNOPSIS .B "char *" libnvme_get_ctrl_attr .BI "(struct libnvme_ctrl *c " "," .BI "const char *attr " ");" .SH ARGUMENTS .IP "c" 12 Controller instance .IP "attr" 12 sysfs attribute name .SH "RETURN" A newly allocated string with the contents of \fIattr\fP (the caller frees), or NULL in case of an empty value or error.