Ubuntu Manpages

nvme_read_config

Read NVMe JSON configuration file

int nvme_read_config (nvme_root_t r , const char *config_file );

nvme_root_t object
JSON configuration file

Read in the contents of config_file and merge them with the elements in r.

0 on success, -1 on failure with errno set.