libnvmf_exclusion_list_for_each-libnvme3(2)

libnvmf_exclusion_list_for_each-libnvme32

Iterate over exclusion list names.

Usage

int libnvmf_exclusion_list_for_each (struct libnvme_global_ctx *ctx , void (*callback)(const char *name, void *user_data) , void *user_data );

Arguments

ctx

libnvme global context; must not be NULL

callback

called for each .conf file; name is basename without .conf suffix

user_data

caller context passed to callback

Return

0 on success, negative errno on error. Returns 0 when the directory does not exist (nothing excluded).

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