list_is_first(9)
π 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:
list_add(9)list_add_tail(9)list_replace(9)list_del_init(9)list_move(9)list_move_tail(9)list_is_last(9)list_empty(9)list_empty_careful(9)list_rotate_left(9)list_is_singular(9)list_cut_position(9)list_splice(9)list_splice_tail(9)list_splice_init(9)list_splice_tail_init(9)list_entry(9)list_first_entry(9)list_last_entry(9)list_first_entry_or_null(9)list_last_entry_or_null(9)list_next_entry(9)list_prev_entry(9)list_for_each(9)list_for_each_prev(9)list_for_each_safe(9)list_for_each_prev_safe(9)list_for_each_entry(9)list_for_each_entry_reverse(9)list_prepare_entry(9)list_for_each_entry_continue(9)list_for_each_entry_continue_reverse(9)list_for_each_entry_from(9)list_for_each_entry_safe(9)list_for_each_entry_safe_continue(9)list_for_each_entry_safe_from(9)list_for_each_entry_safe_reverse(9)list_safe_reset_next(9)hlist_for_each_entry(9)hlist_for_each_entry_continue(9)hlist_for_each_entry_from(9)hlist_for_each_entry_safe(9)list_del_range(9)list_for_each_from(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms