radix_tree_delete_item(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is radix_tree_delete_item from the Kernel API Manual β€” and it's literally here to help you delete an item from a radix tree πŸ’…βœ¨

🌸 NAME 🌸

radix_tree_delete_item β€” delete an item from a radix tree πŸŽ€

✨ SYNOPSIS ✨

void * radix_tree_delete_item (struct radix_tree_root *root , unsigned
long index , void *item );

πŸŽ€ ARGUMENTS πŸŽ€

  • root β€” radix tree root. the root of the tree you're working with, bestie.
  • index β€” index key. the key/index you're pointing at.
  • item β€” expected item. the exact item you expect to find there.

πŸ¦‹ DESCRIPTION πŸ¦‹

Remove item at index from the radix tree rooted at root. that's the whole mission, no cap πŸ¦‹

πŸ’… RETURN πŸ’…

the deleted entry, or NULL if it was not present or the entry at the given index was not item. so if it's not there, or it's not the item you named, you get NULL β€” periodt πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./lib/radix-tree.c β€” and here's the whole friend group, all of them:


xoxo, your kernel bestie πŸ’– β€” this page's source/version is ./lib, dated October 2026, and it's literally radix_tree_delete_item(9) approved 🫢✨

πŸ“¦ where this page comes from