libnvmf_discovery_args_new(9)
π libnvmf_discovery_args_new(9) π
hey bestie, welcome to the libnvme API manual β this one's all about making a brand-new discovery-args object, and it is lowkey iconic β¨
πΈ NAME πΈ
libnvmf_discovery_args_new β allocate and initialise a new instance π«Ά
π SYNOPSIS π
int libnvmf_discovery_args_new (struct libnvmf_discovery_args **pp );
π ARGUMENTS π
ppβ on success,*ppis set to the newly allocated object. slay π
π¦ DESCRIPTION π¦
okay so this function allocates a zeroed struct libnvmf_discovery_args on the heap. that's the whole vibe β¨
the caller must release it with libnvmf_discovery_args_free β no ghosting your allocations, bestie, fr fr π
π RETURN π
0on success π-EINVALifppisNULLπ-ENOMEMif allocation fails π
β xoxo, your Unix bestie π«Ά Β· libnvme API manual Β· October 2026 Β· footer/source-version tag: libnvmf_discovery_args_libnvmf_discovery_args_new(9)
π¦ 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