nvme_get_ctrl_attr - Man Page
Read controller sysfs attribute
Synopsis
char * nvme_get_ctrl_attr (nvme_ctrl_t c , const char *attr );
Arguments
- c
Controller instance
- attr
sysfs attribute name
Return
String with the contents of attr or NULL in case of an empty value or in case of an error (indicated by non-zero errno code).
Info
November 2024 libnvme API manual