libnvme_get_path_attr-libnvme3(2)

libnvme_get_path_attr-libnvme32

Read path sysfs attribute

Usage

char * libnvme_get_path_attr (struct libnvme_path *p , const char *attr );

Arguments

p

struct libnvme_path 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.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.