libnvme_scan_subsystem_namespaces(9) libnvme API manual libnvme_scan_subsystem_namespaces(9)

libnvme_scan_subsystem_namespaces - Scan for namespaces in a subsystem

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

Subsystem to scan
Pointer to array of dirents

number of entries in ns or a negative error code

libnvme_scan_subsystem_namespaces September 2026