libnvme_get_ns_attr-libnvme32
Read namespace sysfs attribute
Usage
char * libnvme_get_ns_attr (struct libnvme_ns *n , const char *attr );
Arguments
n
|
struct libnvme_ns object |
|---|---|
attr
|
sysfs attribute name |
Return
A newly allocated string with the contents of attr (the caller frees), or NULL in case of an empty value or error.