libnvmf_tid_new(9)
π NAME π
okay so this is libnvmf_tid_new(9), coming at you from the libnvme API manual β¨. libnvmf_tid_new is the function that allocates and initialises a libnvmf_tid object. That's the whole vibe: new object, zeroed and ready to go. π
πΈ SYNOPSIS πΈ
int libnvmf_tid_new (struct libnvmf_tid **pp );
bestie, that signature is literally the whole story: it takes a struct libnvmf_tid **pp and does its thing. π«Ά
π ARGUMENTS π
ppβ on success,*ppis set to the newly allocated object. πβ¨
π¦ DESCRIPTION π¦
It allocates a zeroed struct libnvmf_tid on the heap. That's the main character move. π¦
The caller must release it with libnvmf_tid_free. No cap, that's the cleanup rule β don't ghost your allocated object. π
β RETURN β
0β success! slay. π-EINVALβ returned ifppisNULL. π-ENOMEMβ returned if allocation fails. π
with love from the libnvme API manual besties β source/version libnvmf_tid_new, page libnvmf_tid_new(9) β dated October 2026 ππ«Ά
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms