nvmf_hostid_from_file - Man Page
Reads the host identifier from the config default location
char * nvmf_hostid_from_file
Retrieve the host idenditifer from the config file located in $SYSCONFDIR/nvme/. $SYSCONFDIR is usually /etc.
The host identifier, or NULL if unsuccessful. If found, the caller is responsible to free the string.
April 2023 libnvme API manual