list_is_first(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual page for list_is_first(9) β€” yes, that’s the manual name, and we’re folding it in right here near the top like a good little header. ✨

list_is_first - - tests whether @list is the first entry in list @head. That’s literally the whole name vibe: it’s giving β€œis this entry first?” energy. πŸ’…

✨ SYNOPSIS ✨

int list_is_first (const struct list_head *list , const struct list_head
       *head );

No cap, that’s the signature exactly as it appears. Copy it, don’t improvise it. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • list β€” the entry to test, bestie. This is the one you’re asking about. πŸ‘€
  • head β€” the head of the list. The main character of the list situation. πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./tools/include/linux/list.h β€” the whole linked-list extended universe is linked here, iykyk. The squad, in full:


and that’s the whole page, bestie β€” footer energy: source/version ./tools/include/linux, date October 2026, and the page is still list_is_first(9). mwah πŸ’‹πŸŽ€βœ¨

πŸ“¦ where this page comes from