list_replace(9)

NAME

list_replace - replace old entry by new one

SYNOPSIS

void list_replace(struct list_head * old, struct list_head * new);

ARGUMENTS

old
the element to be replaced
new
the new element to insert

DESCRIPTION

If old was empty, it will be overwritten.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout