centos man page for list_cut_position

Query: list_cut_position

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LIST_CUT_POSITION(9)						    Data Types						      LIST_CUT_POSITION(9)

NAME
list_cut_position - cut a list into two
SYNOPSIS
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
Kernel Hackers Manual 3.10 June 2014 LIST_CUT_POSITION(9)
Related Man Pages
queue(3) - redhat
circleq_head(3) - centos
circleq_insert_head(3) - centos
circleq_insert_tail(3) - centos
list_init(3) - centos
Similar Topics in the Unix Linux Community
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
Shopt -s histappend
Unsure why access time on a directory change isn't changing
[TIP] Processing YAML files with yq