libnvme_get_attr-libnvme32
Read sysfs attribute
Usage
char * libnvme_get_attr (const char *d , const char *attr );
Arguments
d
|
sysfs directory |
|---|---|
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.