NAME
libnvme_scan_ctrl - Scan on a controller
SYNOPSIS
int libnvme_scan_ctrl (struct libnvme_global_ctx *ctx , const char *name , struct libnvme_ctrl **c );
ARGUMENTS
- ctx
-
struct libnvme_global_ctx object
- name
-
Name of the controller
- c
-
struct libnvme_ctrl object to return
DESCRIPTION
Scans a controller with sysfs name name and add it to r.
RETURN
0 on success, negative error code otherwise.