MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_list_remove

Function rt_list_remove

include/rtservice.h:89–95  ·  view source on GitHub ↗

* @brief remove node from list. * @param n the node to remove from the list. */

Source from the content-addressed store, hash-verified

87 * @param n the node to remove from the list.
88 */
89rt_inline void rt_list_remove(rt_list_t *n)
90{
91 n->next->prev = n->prev;
92 n->prev->next = n->next;
93
94 n->next = n->prev = n;
95}
96
97/**
98 * @brief tests whether a list is empty

Callers 15

_function_enableFunction · 0.85
_function_disableFunction · 0.85
rt_usbh_detach_instanceFunction · 0.85
_thread_exitFunction · 0.85
lwp_exitFunction · 0.85
_wait_sibling_exitFunction · 0.85
sigqueue_dequeueFunction · 0.85
_futex_requeueFunction · 0.85
wakeup_sender_wait_recvFunction · 0.85
sender_timeoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected