| 1 |
.TH "nvme_get_path_attr" 9 "nvme_get_path_attr" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_get_path_attr \- Read path sysfs attribute |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "char *" nvme_get_path_attr |
| 6 |
.BI "(nvme_path_t p " "," |
| 7 |
.BI "const char *attr " ");" |
| 8 |
.SH ARGUMENTS |
| 9 |
.IP "p" 12 |
| 10 |
nvme_path_t object |
| 11 |
.IP "attr" 12 |
| 12 |
sysfs attribute name |
| 13 |
.SH "RETURN" |
| 14 |
String with the contents of \fIattr\fP or NULL in case of an empty value |
| 15 |
or in case of an error (indicated by non-zero errno code). |