Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-26-2016, 01:22 AM   #1
Registered: Jun 2013
Location: California
Distribution: Ubuntu, Fedora
Posts: 75

Rep: Reputation: Disabled
Is there any Linux user space linked list library?

Hi All,

I know that Linux kernel provides linked list library. What about user space? Is there any linked list library available for user space?

Wei Xu
Old 12-26-2016, 01:44 AM   #2
Michael Uplawski
Senior Member
Registered: Dec 2015
Location: Non. Je suis propriétaire – No. I am an owner.
Distribution: Apple-selling shops, markets and direct marketing: customers find the farm and buy apples.
Posts: 1,535
Blog Entries: 39

Rep: Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789
What do you think?

Your posts and the threads that you have started, show your interest in programming. But the questions that you ask show a blatant absence of will to read the documentation, tutorials or search for a poor handful of keywords. Have you thought about what the possible answers to your question above would imply? The Yes or the No? Sometimes the only answer I want to give is a counter-question: How old are you?
Old 12-27-2016, 01:36 PM   #3
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,838
Blog Entries: 13

Rep: Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893Reputation: 4893
Hello Wei Xu,

I recommend you review the Welcome to LQ link to review some ways to ask your questions more effectively.

Also please review the Project tools FAQ which describes how to make a good issue description.

Please note that there is a history of you starting threads with questions not including any of your original thoughts where you rarely revisit those threads to comment or update other members with further questions for feedback on their responses.

LQ works best if you interact better with other members, especially if you are posting a number of discussion questions.
Old 12-31-2016, 08:57 AM   #4
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,281

Rep: Reputation: Disabled
Maybe take a look at man ldd.
Old 12-31-2016, 01:27 PM   #5
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Google is your friend, search for "linux linked lists and trees" (without the quotes.
Old 01-02-2017, 09:50 AM   #6
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,415
Blog Entries: 4

Rep: Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836
Most languages (other than the deliberately low-level "C") have more-or-less built in features which can be used by a programmer without further programming.

Languages such as "C++" provide a variety of "container classes," "mix-ins" and so-forth which allow you to construct data structures, which your program perceives to be "objects," with already-debugged "methods" that allow you to manipulate them.

Even "C" has standard or readily-available libraries which implement data structures, although the nature of the language means that you have much more of a burden upon yourself to "use them 'correctly.'" (Such that, if you don't, the code which you write and which 'compiles correctly' does not run as you anticipated.)

Finally, high level scripting languages (e.g. PHP, Perl, Python, Ruby, etc.) routinely provide "built-in" features, such as "hashes" and even "arrays," which are implemented using very sophisticated data structures under the hood. You get the benefits of them, (almost ... ) without the pain. You focus on the results you need (and with an awareness of how the language will respond), and The Implementors™ of the language "cover your butt back."

Certainly, there is always this maxim:
Actum Ne Agas: Do Not Do A Thing Already Done.™
No matter what you are doing, and in what language, you almost never have to "start from scratch." You should always begin any project with research over "prior art." Why against something if someone else has already 'd about the selfsame thing and has shared their work with you, or has built it into a tool that you can readily use?

- - -
And also: "None of these things are particular to Linux." You can even find and use them in "The OS That Must Not Be Named."

Last edited by sundialsvcs; 01-02-2017 at 09:54 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linked list library for user space program david_8274 Linux - Newbie 1 04-02-2016 05:38 PM
porting linux kernel list operation to user space? soararing Programming 2 11-24-2007 07:49 AM
Linked list free memory space at the end cdog Programming 12 04-17-2006 09:25 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 05:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration