libnvme_get_ctrl_attr(9) libnvme API manual libnvme_get_ctrl_attr(9)

libnvme_get_ctrl_attr - Read controller sysfs attribute

char * libnvme_get_ctrl_attr (struct libnvme_ctrl *c , const char *attr );

Controller instance
sysfs attribute name

A newly allocated string with the contents of attr (the caller frees), or NULL in case of an empty value or error.

libnvme_get_ctrl_attr September 2026