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 , libnvme_ns_t *ns );

ARGUMENTS

ctx struct libnvme_global_ctx object

name
    sysfs name of the namespace to scan

ns  libnvme_ns_t object to return

RETURN
0 on success, negative error code otherwise.