OS Manuals

libnvmf_exclusion_add-libnvme3(2)

libnvmf_exclusion_add - append an entry to a named list (atomic write).

libnvmf_exclusion_add(9) libnvme API manual libnvmf_exclusion_add(9)

libnvmf_exclusion_add - append an entry to a named list (atomic write).

int libnvmf_exclusion_add (struct libnvme_global_ctx *ctx , const char *name , const char *entry );

libnvme global context; must not be NULL
list name
semicolon-separated key=value string (e.g. "transport=tcp;traddr=192.168.1.1")

Creates the list if it does not exist. Validates the entry for unknown keys before writing; returns -EINVAL if the entry is invalid.

0 on success, negative errno otherwise.

libnvmf_exclusion_add October 2026

nvme-cli 3.2-r0 · os · ingested 2026-10-31