libnvme_scan_ctrl(9)

NAME
libnvme_scan_ctrl - Scan on a controller

SYNOPSIS
int libnvme_scan_ctrl (struct libnvme_global_ctx *ctx , const char *name , libnvme_ctrl_t *c );

ARGUMENTS

ctx struct libnvme_global_ctx object

name
    Name of the controller

c   libnvme_ctrl_t object to return

DESCRIPTION
Scans a controller with sysfs name name and add it to r.

RETURN
0 on success, negative error code otherwise.