libnvme_scan_ctrl-libnvme32
Scan on a controller
Usage
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 |
Overview
Scans a controller with sysfs name name and add it to r.
Return
0 on success, negative error code otherwise.