libnvmf_tid_str-libnvme3(2)

libnvmf_tid_str-libnvme32

Human-readable string form of a tid, for logging.

Usage

const char * libnvmf_tid_str (const struct libnvmf_tid *tid );

Arguments

tid

The transport ID.

Overview

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

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

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.