libnvme_get_ctrl_attr-libnvme32
Read controller sysfs attribute
Usage
char * libnvme_get_ctrl_attr (struct libnvme_ctrl *c , const char *attr );
Arguments
c
|
Controller instance |
|---|---|
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.