DOKK / manpages / debian 12 / libnvme-dev / nvme_read_config.2.en
nvme_read_config(2) libnvme API manual nvme_read_config(2)

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.

nvme_read_config January 2023