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

# [NAME](#NAME)

libnvmf\_tid\_new - Allocate and initialise a libnvmf\_tid object.

# [SYNOPSIS](#SYNOPSIS)

**int libnvmf\_tid\_new** **(struct libnvmf\_tid \*\*pp );**

# [ARGUMENTS](#ARGUMENTS)

[pp](#pp)

On success, \*pp is set to the newly allocated object.

# [DESCRIPTION](#DESCRIPTION)

Allocates a zeroed *struct libnvmf\_tid* on the heap. The caller must release it with **libnvmf\_tid\_free**.

# [RETURN](#RETURN)

0 on success, -EINVAL if *pp* is NULL, -ENOMEM if allocation fails.

libnvmf\_tid\_new September 2026

---

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