This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Status of insque/remque
- From: Bryan Evenson <bevenson at melinkcorp dot com>
- To: "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Thu, 12 Apr 2012 08:59:43 -0400
- Subject: Status of insque/remque
I am writing a userspace application for an Angstrom Linux distribution (embedded Linux based on kernel 2.6.39) and I need some linked lists. I don't need doubly linked list; simple singly linked list with insert, remove and forward searching are sufficient. Instead of rolling my own, I'd prefer to use one that is already in existence.
I am using glibc 2.12.2 and I see the insque/remque functions under search.h on my system. Before I start using insque/remque, I wanted to verify that there isn't a better linked list interface hiding somewhere in glibc or that there weren't plans to discontinue this interface in the near future. If I want a linked list, is this the interface to use?
Thanks,
Bryan