.TH "libnvmf_exclusion_add" 2 "libnvmf_exclusion_add" "October 2026" "libnvme API manual" LINUX
.SH NAME
libnvmf_exclusion_add \- append an entry to a named list (atomic write).
.SH SYNOPSIS
.B "int" libnvmf_exclusion_add
.BI "(struct libnvme_global_ctx *ctx "  ","
.BI "const char *name "  ","
.BI "const char *entry "  ");"
.SH ARGUMENTS
.IP "ctx" 12
libnvme global context; must not be NULL
.IP "name" 12
list name
.IP "entry" 12
semicolon-separated key=value string (e.g. "transport=tcp;traddr=192.168.1.1")
.SH "DESCRIPTION"
Creates the list if it does not exist.  Validates the entry for unknown keys
before writing; returns -EINVAL if the entry is invalid.
.SH "RETURN"
0 on success, negative errno otherwise.
