MCPcopy Index your code
hub / github.com/RT-Thread/rt-thread / rt_list_isempty

Function rt_list_isempty

include/rtservice.h:101–104  ·  view source on GitHub ↗

* @brief tests whether a list is empty * @param l the list to test. */

Source from the content-addressed store, hash-verified

99 * @param l the list to test.
100 */
101rt_inline int rt_list_isempty(const rt_list_t *l)
102{
103 return l->next == l;
104}
105
106/**
107 * @brief get the list length

Callers 15

list_semFunction · 0.85
list_eventFunction · 0.85
list_mutexFunction · 0.85
list_mailboxFunction · 0.85
list_msgqueueFunction · 0.85
rt_usbd_class_registerFunction · 0.85
rt_usb_device_initFunction · 0.85
_function_enableFunction · 0.85
_function_disableFunction · 0.85
_mutex_take_safeFunction · 0.85
_futex_requeueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected