table of contents
| libnvmf_read_hostnqn(9) | libnvme API manual | libnvmf_read_hostnqn(9) |
NAME¶
libnvmf_read_hostnqn - Reads the host nvm qualified name from the config default location
SYNOPSIS¶
char * libnvmf_read_hostnqn (struct libnvme_global_ctx *ctx );
ARGUMENTS¶
- ctx
- struct libnvme_global_ctx object
DESCRIPTION¶
Retrieve the qualified name from the config file located in $SYSCONFDIR/nvme. $SYSCONFDIR is usually /etc.
RETURN¶
The host nqn, or NULL if unsuccessful. If found, the caller is responsible to free the string.
| libnvmf_read_hostnqn | July 2026 |