Name

list_splice — join two lists, this is designed for stacks

Synopsis

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

Arguments

const struct list_head * list

the new list to add.

struct list_head * head

the place to add it in the first list.