Search code examples
clinuxlistglibc

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.


Solution

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