libnvme_ctrl_next_path(9)
π libnvme_ctrl_next_path(9) β¨
okay bestie, welcome to the libnvme_ctrl_next_path page from the libnvme API manual β yes that's the whole manual name, we're fancy here π
πΈ NAME πΈ
libnvme_ctrl_next_path β the next-path iterator, aka the little function that hands you the next path and keeps the loop going π
β¨ SYNOPSIS β¨
struct libnvme_path * libnvme_ctrl_next_path (struct libnvme_ctrl *c ,
struct libnvme_path *p );
that's it. two args, one pointer back. clean, iconic, no notes π
π«Ά ARGUMENTS π«Ά
cβ the controller instance you're iterating over, your main character π«‘pβ the previousstruct libnvme_pathobject from the iterator onc, like the last text in the thread so we know where we left off π¬
β RETURN β
it hands you the next struct libnvme_path object from the iterator on c β literally the next one in line, no cap π
ngl bestie, this is an iterator, so the whole vibe is "call me again and I'll give you the next one" β feed it the previous p and let it cook π
mmm okay that's the whole thing, short and sweet like a good commit message π¦ this was libnvme_ctrl_next_path from the libnvme API manual, dated October 2026 β periodt, go iterate something π
β¨π
π¦ 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