libnvme_refresh_topology(9)

πŸ“¦ version 3.2, in arch rolling

okay bestie, welcome to libnvme_refresh_topology(9) from the libnvme API manual β€” manual name folded in near the top, exactly like requested 🫢✨

🌸 NAME 🌸

libnvme_refresh_topology β€” refresh libnvme_root_t object contents. That's the whole vibe: it's the glow-up pass for your root object's contents πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int libnvme_refresh_topology (struct libnvme_global_ctx *ctx );

πŸŽ€ ARGUMENTS πŸŽ€

  • ctx β€” struct libnvme_global_ctx object. That's the one and only argument, bestie πŸ’–

✨ DESCRIPTION ✨

Okay so the actual move: it removes all elements in r and rescans the existing topology. Yep, the page literally says r right there β€” not ctx β€” so I'm not gaslighting you, I'm just reading the docs fr fr πŸ™ˆπŸ˜­

πŸ‘‘ RETURN πŸ‘‘

0 on success, negative error code otherwise. So: success = 0 (slay), otherwise = a negative error code (not slay, but at least it's a clear error signal) 😭✨


Signed with love by the libnvme API manual crew, dated October 2026, with footer energy that reads libnvme_refresh_topologylibnvme_refresh_topology(9) πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from