---
name: "libnvmf_exclusion_remove-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvmf_exclusion_remove-libnvme3"
---

# libnvmf\_exclusion\_remove-libnvme3(2)

remove an entry by exact content match (atomic write).

## NAME

libnvmf\_exclusion\_remove - remove an entry by exact content match (atomic write).

## SYNOPSIS

**int libnvmf\_exclusion\_remove** **(struct libnvme\_global\_ctx \*ctx** *,* **const char \*name** *,* **const char \*entry** *);*

## ARGUMENTS

- ctx

  libnvme global context; must not be NULL

- name

  list name

- entry

  entry string to remove, exactly as returned by **libnvmf\_exclusion\_entry\_for\_each** (e.g. "transport=tcp;traddr=192.168.1.1")

## RETURN

0 on success, -ENOENT if the entry or list does not exist, negative errno otherwise.
