---
name: "libnvmf_config_get_hostsymname-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvmf_config_get_hostsymname-libnvme3"
---

# libnvmf\_config\_get\_hostsymname-libnvme3(2)

the top-level \[Host\] symbolic name.

## NAME

libnvmf\_config\_get\_hostsymname - the top-level \[Host\] symbolic name.

## SYNOPSIS

**const char \* libnvmf\_config\_get\_hostsymname** **(const struct libnvmf\_config \*config** *);*

## ARGUMENTS

- config

  the resolved configuration

## DESCRIPTION

The symbolic name a Discovery Information Management (DIM) command reports to a Centralized Discovery Controller (TP8010).  Unlike the host NQN and host ID it has no system-wide file to fall back on, so this is the only place it can be configured for a host that connects only what it discovers.

## RETURN

borrowed string, valid while *config* is alive, or NULL when the top-level file names no symbolic name.
