carta
libnvmf_context_set_device-libnvme3(2)

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.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.