logoalt Hacker News

mfuzzeyyesterday at 7:17 PM1 replyview on HN

There's also the method used in the Linux kernel to embed the list information (struct list_head) within the type specific struct. https://kernelnewbies.org/FAQ/LinkedLists


Replies

nixpulvisyesterday at 9:30 PM

The naming of LIST_HEAD_INIT and INIT_LIST_HEAD is confusing to me.

show 2 replies