Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

glibc - list and other data structures implementations

Tags:

c

linux

list

glibc

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.

like image 240
0x90 Avatar asked May 29 '13 17:05

0x90


1 Answers

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

like image 159
Carl Norum Avatar answered Sep 22 '22 16:09

Carl Norum