Scroll to navigation

libnvmf_context_set_device(9) libnvme API manual libnvmf_context_set_device(9)

NAME

libnvmf_context_set_device - Set device for context

SYNOPSIS

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

ARGUMENTS

Fabrics context
Device path or identifier

DESCRIPTION

Sets the device to be used by the context.

RETURN

0 on success, negative error code otherwise.

libnvmf_context_set_device July 2026