nvmf_hostid_from_file(2) libnvme API manual nvmf_hostid_from_file(2)

nvmf_hostid_from_file - 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.

nvmf_hostid_from_file January 2025