0x90 0x90 - 1 year ago 141
Linux Question

glibc - list and other data structures implementations

I fill like my google searching skills are poor right now, couldn't find a list implementation in glibc, found hash and tree implementations but not a list one.

Is there any glibc implementation for that? I don't want to reformat the linux kernel linked list macros and use them in userspace.

Answer Source

You can use insque(3) and remque(3)