libnvme_scan_subsystems(9) libnvme API manual libnvme_scan_subsystems(9)

libnvme_scan_subsystems - Scan for subsystems

int libnvme_scan_subsystems (struct libnvme_global_ctx *ctx , struct dirent ***subsys );

struct libnvme_global_ctx object
Pointer to array of dirents

number of entries in subsys or a negative error code

libnvme_scan_subsystems September 2026