DOKK / manpages / debian 12 / libnvme-dev / nvme_scan_subsystem_namespaces.2.en
nvme_scan_subsystem_namespaces(2) libnvme API manual nvme_scan_subsystem_namespaces(2)

nvme_scan_subsystem_namespaces - Scan for namespaces in a subsystem

int nvme_scan_subsystem_namespaces (nvme_subsystem_t s , struct dirent ***ns );

Subsystem to scan
Pointer to array of dirents

number of entries in ns

nvme_scan_subsystem_namespaces January 2023