.TH "libnvme_get_ns_attr" 2 "libnvme_get_ns_attr" "September 2026" "libnvme API manual" LINUX
.SH NAME
libnvme_get_ns_attr \- Read namespace sysfs attribute
.SH SYNOPSIS
.B "char *" libnvme_get_ns_attr
.BI "(struct libnvme_ns *n "  ","
.BI "const char *attr "  ");"
.SH ARGUMENTS
.IP "n" 12
struct libnvme_ns 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.
