libnvmf\_tid\_str(9) libnvme API manual libnvmf\_tid\_str(9)

# [NAME](#NAME)

libnvmf\_tid\_str - Human-readable string form of a TID, for logging.

# [SYNOPSIS](#SYNOPSIS)

**const char * libnvmf\_tid\_str** **(const struct libnvmf\_tid \*tid );**

# [ARGUMENTS](#ARGUMENTS)

[tid](#tid)

The transport ID.

# [DESCRIPTION](#DESCRIPTION)

Returns "(transport, traddr, trsvcid\[, subsysnqn]\[, host\_iface]\[, host\_traddr])" — the same rendering nvme-stas uses, so logs from both tools line up. hostnqn and hostid are omitted. Lazily computed and cached; invalidated by any setter.

# [RETURN](#RETURN)

Cached string, or NULL if *tid* is NULL or on allocation failure.

libnvmf\_tid\_str October 2026

---

Document: libnvmf_tid_str-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
