summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_get_path_attr.2
blob: 73b73a2c0c4c52863af8585a1e16958059d80137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.TH "nvme_get_path_attr" 9 "nvme_get_path_attr" "January 2023" "libnvme API manual" LINUX
.SH NAME
nvme_get_path_attr \- Read path sysfs attribute
.SH SYNOPSIS
.B "char *" nvme_get_path_attr
.BI "(nvme_path_t p "  ","
.BI "const char *attr "  ");"
.SH ARGUMENTS
.IP "p" 12
nvme_path_t object
.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).