SysTutorials

Linux Manual Pages › Section 9

list_add_tail(9)

list_add_tail - add a new entry

Synopsis

void list_add_tail(struct list_head *new, struct list_head *head);

Arguments

new

new entry to be added

head

list head to add it before

Description

Insert a new entry before the specified head. This is useful for implementing queues.

Copyright