1
0
Fork 0
libnvme/doc/man/nvme_get_attr.2
Daniel Baumann bd2208f611
Merging upstream version 1.11.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-16 10:51:37 +01:00

15 lines
445 B
Groff

.TH "nvme_get_attr" 9 "nvme_get_attr" "November 2024" "libnvme API manual" LINUX
.SH NAME
nvme_get_attr \- Read sysfs attribute
.SH SYNOPSIS
.B "char *" nvme_get_attr
.BI "(const char *d " ","
.BI "const char *attr " ");"
.SH ARGUMENTS
.IP "d" 12
sysfs directory
.IP "attr" 12
sysfs attribute name
.SH "RETURN"
String with the contents of \fIattr\fP or NULL in case of an empty value
or in case of an error (indicated by non-zero errno code).