Reference

libnvme_get_ctrl_attr-libnvme3(2)

Read controller sysfs attribute

NAME

libnvme_get_ctrl_attr - Read controller sysfs attribute

SYNOPSIS

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.