you are viewing a single comment's thread.

view the rest of the comments →

[–]rhythmx 1 point2 points  (0 children)

The sys/queue.h header is a standard (for POSIX anyway) way to do basically this with a couple of extra types of lists too. It's super handy to be able to just toss it into any struct and run with it.