.TH "libnvmf_generate_hostnqn_from_hostid" 9 "libnvmf_generate_hostnqn_from_hostid" "September 2026" "libnvme API manual" LINUX .SH NAME libnvmf_generate_hostnqn_from_hostid \- Generate a host nqn from host identifier .SH SYNOPSIS .B "char *" libnvmf_generate_hostnqn_from_hostid .BI "(struct libnvme_global_ctx *ctx " "," .BI "char *hostid " ");" .SH ARGUMENTS .IP "ctx" 12 struct libnvme_global_ctx object .IP "hostid" 12 Host identifier .SH "DESCRIPTION" If \fIhostid\fP is NULL, the function generates it based on the machine identifier. .SH "RETURN" On success, an NVMe Qualified Name for host identification. This name is based on the given host identifier. On failure, NULL.