NAME
libnvme_set_test_sysfs_dir - Set libnvme's lookup sysfs path for testing
SYNOPSIS
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.