libnvme_sca...m_namespaces(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– NAME πŸ’–

okay bestie, welcome to libnvme_sca...m_namespaces(9) from the libnvme API manual ✨ libnvme_scan_subsystem_namespaces is literally the function for scanning for namespaces in a subsystem πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

       int libnvme_scan_subsystem_namespaces (struct libnvme_subsystem *s ,
       struct dirent ***ns );

πŸŽ€ ARGUMENTS πŸŽ€

  • s β€” the subsystem to scan 🌸
  • ns β€” pointer to array of dirents 🧚

πŸ”₯ RETURN πŸ”₯

returns the number of entries in ns or a negative error code πŸ˜­πŸ’–


mwah 🫢 that's the whole tea from the libnvme API manual, October 2026 edition β€” source/version vibes included, no cap βœ¨πŸ‘‘

πŸ“¦ where this page comes from