LIBNVME_SCAN_CTRL_NAMESPACES-LIBNVME3(2)
π 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
- 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