LIBNVMF_EXCLUSION_ENTRY_FOR_EACH-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸ’– libnvmf_exclusion_entry_for_each β€” libnvme API manual πŸ’–

okay bestie, welcome to the libnvme API manual page for libnvmf_exclusion_entry_for_each β€” page title LIBNVMF_EXCLUSION_ENTRY_FOR_EACH-LIBNVME3(2), and the header is out here doing its truncated libnvmf_excl...try_for_each(9) thing because long names are iconic πŸ’€βœ¨


πŸŽ€ NAME πŸŽ€

libnvmf_exclusion_entry_for_each β€” iterate over entries in a named list. That’s the whole main character move: named list, entries, iteration. πŸ’…


✨ SYNOPSIS ✨

okay so the signature is literally this, spacing and line breaks and all:

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

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ctx β€” the libnvme global context; must not be NULL, fr fr.
  • name β€” the list name, which is the basename without the .conf suffix.
  • callback β€” gets called with the raw entry string (e.g. "transport=tcp;traddr=...").
  • user_data β€” caller context passed to callback.
bestie, ctx must not be NULL β€” that is not a suggestion, that is the rule 🫢

🌈 RETURN 🌈

  • 0 on success βœ…
  • -ENOENT if the list does not exist 😭
  • negative errno otherwise πŸ’€

later, bestie 🫢 β€” October 2026, from the libnvme API manual, with footer source/version energy libnvmf_exclusion_entry_flibnvmf_excl...try_for_each(9). πŸ’œ

πŸ“¦ where this page comes from