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