Name

list_head

Synopsis

ListElmt *list_head(const List *list);

Return Value

Element at the head of the list.

Description

Macro that evaluates to the element at the head of the linked list specified by 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.