nvme_scan_ns_head_paths(9)

✨ nvme_scan_ns_head_paths(9) ✨

okay bestie, welcome to the libnvme API manual πŸ’– this one's short and sweet but she is important, so pay attention, mkay?


πŸŽ€ NAME πŸŽ€

nvme_scan_ns_head_paths β€” scan for namespace paths πŸ¦‹

like… she goes looking for paths. that's the whole gig. no cap.


🌸 SYNOPSIS 🌸

int nvme_scan_ns_head_paths (nvme_ns_head_t head , struct dirent
***paths );

the way that triple pointer just… exists πŸ’€ yes bestie, struct dirent ***paths, three stars, she's thriving, she's got main character energy. we don't question her. we respect her.


πŸ’… ARGUMENTS πŸ’…

  • head β€” the namespace head node you wanna scan. that's your starting point, your home base, your girl 🫢
  • paths β€” a pointer to an array of dirents. she gets filled up with the paths we find ✨

⭐ RETURN ⭐

she hands you back the number of entries in ents πŸ‘‘

that's it. that's the return. count your blessings and your dirents, bestie πŸ“


lowkey a little reminder: the return says ents, but the argument is called paths β€” that's just how the API talks, iykyk, don't @ me πŸ™ˆ we report the facts exactly as they are, always. periodt.

and that's the whole page!! 🌈 this lil slice of the libnvme API manual was documented back in August 2026, and it's called nvme_scan_ns_head_paths β€” same name up top, same name down here, symmetrical queen πŸ‘‘ stay scanning, bestie, mwah πŸ’–πŸ§šπŸ’œ

πŸ“¦ where this page comes from