libnvmf_context_set_device-libnvme32
Set device for context
Usage
int libnvmf_context_set_device
(struct
libnvmf_context
*fctx
,
const
char
*device
);
Arguments
- fctx
-
Fabrics context
- device
-
Device path or identifier
Overview
Sets the device to be used by the context.
Return
0 on success, negative error code otherwise.