Reference

libnvmf_tid_str-libnvme3(2)

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

NAME

libnvmf_tid_str - Human-readable string form of a TID, for logging.

SYNOPSIS

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

ARGUMENTS

tid

The transport ID.

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

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