libnvme_scan_namespace(9)

NAME
libnvme_scan_namespace - scan namespace based on sysfs name

SYNOPSIS
int libnvme_scan_namespace (struct libnvme_global_ctx *ctx , const char *name , struct libnvme_ns **ns );

ARGUMENTS

ctx struct libnvme_global_ctx object

name
    sysfs name of the namespace to scan

ns  struct libnvme_ns object to return

RETURN
0 on success, negative error code otherwise.