libnvme_get_ns_attr(9)

NAME
libnvme_get_ns_attr - Read namespace sysfs attribute

SYNOPSIS
char * libnvme_get_ns_attr (struct libnvme_ns *n , const char *attr );

ARGUMENTS

n   struct libnvme_ns 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.