Name
dlist_is_head
Synopsis
int dlist_is_head(const DListElmt *element
);
Return Value
1 if the element is at the head of the list, or 0 otherwise.
Description
Macro that determines whether the element specified
as element
is at the head of a
doubly-linked list.
Complexity
O (1)
Get Mastering Algorithms with C now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.