.TH "libnvme_get_subsys_attr" 9 "libnvme_get_subsys_attr" "September 2026" "libnvme API manual" LINUX .SH NAME libnvme_get_subsys_attr \- Read subsystem sysfs attribute .SH SYNOPSIS .B "char *" libnvme_get_subsys_attr .BI "(struct libnvme_subsystem *s " "," .BI "const char *attr " ");" .SH ARGUMENTS .IP "s" 12 struct libnvme_subsystem object .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.