LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-26-2016, 12:22 AM   #1
david_8274
Member
 
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?

Regards,
Wei Xu
 
Old 12-26-2016, 12:44 AM   #2
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Location: Apples
Distribution: Apple-selling shops, markets and direct marketing
Posts: 1,169
Blog Entries: 30

Rep: Reputation: 666Reputation: 666Reputation: 666Reputation: 666Reputation: 666Reputation: 666
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, 12:36 PM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,354
Blog Entries: 13

Rep: Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411
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, 07:57 AM   #4
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 4,208

Rep: Reputation: Disabled
Maybe take a look at man ldd.
 
Old 12-31-2016, 12:27 PM   #5
tronayne
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: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062
Google is your friend, search for "linux linked lists and trees" (without the quotes.
 
Old 01-02-2017, 08:50 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,232
Blog Entries: 4

Rep: Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260Reputation: 3260
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:
Quote:
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 08:54 AM.
 
  


Reply


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 04:38 PM
porting linux kernel list operation to user space? soararing Programming 2 11-24-2007 06:49 AM
Linked list free memory space at the end cdog Programming 12 04-17-2006 08:25 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 AM.

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