libnvme_get_subsys_attr(9)

NAME
libnvme_get_subsys_attr - Read subsystem sysfs attribute

SYNOPSIS
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.