SysTutorials

Linux Manual Pages › Section 9

list_splice(9)

list_splice - join two lists, this is designed for stacks

Synopsis

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

Arguments

list

the new list to add.

head

the place to add it in the first list.

Copyright