list_splice(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is list_splice from the Kernel API Manual β€” aka list_splice(9) πŸ’… β€” and what it does is join two lists. That’s the whole gig. It’s literally designed for stacks, no cap. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

here’s the exact signature, character for character:

       void list_splice (const struct list_head *list , struct list_head *head
       );

it returns void, so there’s nothing coming back to catch β€” it just does its thing and that’s it ✨

πŸŽ€ ARGUMENTS πŸŽ€

  • list β€” the new list to add. fresh list energy, mwah. πŸ’–
  • head β€” the place to add it in the first list. that’s where it gets spliced in, periodt. πŸ‘‘

🌈 SEE ALSO 🌈

the kernel file is ./tools/include/linux/list.h, and the whole linked-list friend group is here:


okay that’s the whole page, bestie 🫢 β€” sourced from ./tools/include/linux, dated October 2026, and starring list_splice(9) πŸ’–βœ¨

πŸ“¦ where this page comes from