---
name: "nvmf_hostnqn_from_file"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvmf_hostnqn_from_file"
---

# nvmf\_hostnqn\_from\_file(2)

Reads the host nvm qualified name from the config default location

## NAME

nvmf\_hostnqn\_from\_file - Reads the host nvm qualified name from the config default location

## SYNOPSIS

**char \* nvmf\_hostnqn\_from\_file**

## ARGUMENTS

## DESCRIPTION

Retrieve the qualified name from the config file located in $SYSCONFIDR/nvme. $SYSCONFDIR is usually /etc.

## RETURN

The host nqn, or NULL if unsuccessful. If found, the caller is responsible to free the string.
