Name
list_replace —
replace old entry by new one
Synopsis
void list_replace ( | struct list_head * old, |
| struct list_head * new) ; |
Arguments
struct list_head * old
the element to be replaced
struct list_head * new
the new element to insert
Description
If old
was empty, it will be overwritten.