Rechercher une page de manuel
list_cut_position
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
list_cut_position - cut a list into twoSYNOPSIS
- void list_cut_position(struct list_head * list, struct list_head * head, struct list_head * entry);
ARGUMENTS
list
- a new list to add all removed entries
head
- a list with entries
entry
- an entry within head, could be the head itself and if so we won't cut the list
DESCRIPTION
This helper moves the initial part of head, up to and including entry, from head to list. You should pass on entry an element you know is on head. list should be an empty list or a list you do not care about losing its data.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre