LIBNVME_SCAN_CTRL_NAMESPACES-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸŽ€ libnvme_scan_ctrl_namespaces πŸŽ€

from the libnvme API manual, bestie πŸ’–

🌸 NAME 🌸

libnvme_scan_ctrl_namespaces β€” scan for namespaces in a controller. That’s the whole assignment: go find those namespaces, periodt. ✨

✨ SYNOPSIS ✨

int libnvme_scan_ctrl_namespaces (struct libnvme_ctrl *c , struct dirent ***ns );

🫢 ARGUMENTS 🫢

  • c β€” controller to scan. This is the controller you’re checking, main character energy.
  • ns β€” pointer to array of dirents. Literally a pointer to an array of dirents, iykyk πŸ¦‹

πŸ’– RETURN πŸ’–

It returns the number of entries in ns, or a negative error code 😭. So you either get a count or an error-code situation β€” no cap.


okay bye bestie πŸ’… this page is from the libnvme API manual, and the footer stamp is October 2026 with libnvme_scan_ctrl_names / libnvme_scan...l_namespaces(9) β€” source/version-and-date moment, periodt πŸ’–βœ¨

πŸ“¦ where this page comes from