Is there any way to emulate the list data structure in C? (What I really need is a doubly-linked list.)
More simply put, is there a good way to solve the Least Recently Used memory management technique?
My train of thought at the current time has me needing access to both the head and tail of the list (for obtaining/removing values and for inserting values, respectively).
An oft-cited list implementation in C comes from the Linux kernel: list.h
It does a lot of things right, in the context of the C language.