libnvmf_create_ctrl(9)

NAME
libnvmf_create_ctrl - Allocate an unconnected NVMe controller

SYNOPSIS
int libnvmf_create_ctrl (struct libnvme_global_ctx *ctx , struct libnvmf_context *fctx , libnvme_ctrl_t *c );

ARGUMENTS

ctx struct libnvme_global_ctx object

fctx
    Fabrics context

c   libnvme_ctrl_t object to return

DESCRIPTION
Creates an unconnected controller to be used for libnvme_add_ctrl.

RETURN
0 on success, negative error code otherwise.