---
name: "libnvmf_tid_get_hostid-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_tid_get_hostid-libnvme3"
---

# libnvmf\_tid\_get\_hostid-libnvme3(2)

Get hostid.

## NAME

libnvmf\_tid\_get\_hostid - Get hostid.

## SYNOPSIS

**const char \* libnvmf\_tid\_get\_hostid** **(const struct libnvmf\_tid \*p** *);*

## ARGUMENTS

- p

  The *struct libnvmf\_tid* instance to query.

## RETURN

The value of the hostid field, or NULL if not set.
