MCPcopy Create free account
hub / github.com/Entware/Entware / list_add_tail

Function list_add_tail

scripts/config/list.h:100–103  ·  view source on GitHub ↗

* list_add_tail - add a new entry * @new: new entry to be added * @head: list head to add it before * * Insert a new entry before the specified head. * This is useful for implementing queues. */

Source from the content-addressed store, hash-verified

98 * This is useful for implementing queues.
99 */
100static inline void list_add_tail(struct list_head *_new, struct list_head *head)
101{
102 __list_add(_new, head->prev, head);
103}
104
105/*
106 * Delete a list entry by making the prev/next entries

Callers 5

env_addFunction · 0.70
variable_addFunction · 0.70
search_confFunction · 0.70
confFunction · 0.70
get_prompt_strFunction · 0.70

Calls 1

__list_addFunction · 0.70

Tested by

no test coverage detected