libnvme_set_test_sysfs_dir-libnvme32
Set libnvme's lookup sysfs path for testing
Usage
int libnvme_set_test_sysfs_dir (struct libnvme_global_ctx *ctx , const char *path );
Arguments
ctx
|
struct libnvme_global_ctx object |
|---|---|
path
|
Directory with sysfs or NULL to restore defaults |
Return
0 on success, -EINVAL if ctx is NULL, -ENOMEM on allocation failure.