nvme_get_attr(2)

nvme_get_attr2

Read sysfs attribute

Usage

char * nvme_get_attr (const char *d , const char *attr );

Arguments

d

sysfs directory

attr

sysfs attribute name

Return

String with the contents of attr or NULL in case of an empty value or in case of an error (indicated by non-zero errno code).

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From libnvme-dev 1.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.