1LIST_REPLACE(9) Data Types LIST_REPLACE(9)
23
4
NAME
6list_replace - replace old entry by new one
7
SYNOPSIS
9void list_replace(struct list_head * old, struct list_head * new);
10
ARGUMENTS
12old
13the element to be replaced
1415
new
16the new element to insert
17
DESCRIPTION
19If old was empty, it will be overwritten.
20
COPYRIGHT
22Kernel Hackers Manual 2.6. June 2019 LIST_REPLACE(9)