Scroll to navigation

libnvmf_config_get_hostid(2) libnvme API manual libnvmf_config_get_hostid(2)

NAME

libnvmf_config_get_hostid - the top-level [Host] host ID.

SYNOPSIS

const char * libnvmf_config_get_hostid (const struct libnvmf_config *config );

ARGUMENTS

the resolved configuration

DESCRIPTION

See libnvmf_config_get_hostnqn.

RETURN

borrowed string, valid while config is alive, or NULL when the top-level file names no host ID (the caller falls back to the system identity in /etc/nvme/hostid).

libnvmf_config_get_hostid October 2026