libnvme_get_subsys_attr-libnvme32
Read subsystem sysfs attribute
Usage
char * libnvme_get_subsys_attr (struct libnvme_subsystem *s , const char *attr );
Arguments
s
|
struct libnvme_subsystem 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.