Reference

libnvmf_context_set_device-libnvme3(2)

Set device for context

NAME

libnvmf_context_set_device - Set device for context

SYNOPSIS

int libnvmf_context_set_device (struct libnvmf_context *fctx , const char *device );

ARGUMENTS

fctx

Fabrics context

device

Device path or identifier

DESCRIPTION

Sets the device to be used by the context.

RETURN

0 on success, negative error code otherwise.