| 1 |
.TH "nvme_read_config" 9 "nvme_read_config" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_read_config \- Read NVMe JSON configuration file |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_read_config |
| 6 |
.BI "(nvme_root_t r " "," |
| 7 |
.BI "const char *config_file " ");" |
| 8 |
.SH ARGUMENTS |
| 9 |
.IP "r" 12 |
| 10 |
nvme_root_t object |
| 11 |
.IP "config_file" 12 |
| 12 |
JSON configuration file |
| 13 |
.SH "DESCRIPTION" |
| 14 |
Read in the contents of \fIconfig_file\fP and merge them with |
| 15 |
the elements in \fIr\fP. |
| 16 |
.SH "RETURN" |
| 17 |
0 on success, -1 on failure with errno set. |