libnvme_scan_topology(9)
π
NAME β libnvme_scan_topology π
okay so bestie, this page is from the libnvme API manual, and it's literally about libnvme_scan_topology β scan NVMe topology and apply filter. no cap, that's the whole vibe π¦
β¨ SYNOPSIS β¨
int libnvme_scan_topology (struct libnvme_global_ctx *ctx ,
libnvme_scan_filter_t f , void *f_args );
π§Ύ ARGUMENTS π§Ύ
ctxβ astruct libnvme_global_ctxobject. like, the whole global context situation πfβ the filter to apply. yep, this is the one doing the vibe check β¨f_argsβ user-specified argument tof. your lil extra thing passed straight to the filter π
π DESCRIPTION π
Scans the NVMe topology and filters out the resulting elements by applying f. so it's giving topology scan + filter application, and applying f is literally the whole move π
π«Ά RETURN π«Ά
0 on success, negative error code otherwise. that's the return vibe: 0 = slay, negative error code = not slay π
π xoxo, your libnvme bestie β from the libnvme API manual, dated October 2026, page libnvme_scan_topology(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