LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-06-2007, 02:51 AM   #1
shogun1234
Member
 
Registered: May 2004
Posts: 176

Rep: Reputation: 15
malloc_usable_space() function


I read an article (http://www.linuxjournal.com/article/4681), talking about memory issue. It refers to one function, named `malloc_usable_space()' which can report the usage of a memory. However, whilst checking the man page or looking up on the internet, I can not find any usage or synopsis on this function. Some pages simply refer to the name of this function only.

My problem is how to use to function? What is it usage?

Thank you very much.
 
Old 10-06-2007, 02:30 PM   #2
orgcandman
Member
 
Registered: May 2002
Location: dracut MA
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 109Reputation: 109
My guess is that it was removed a while back. The date on that article is 2001, which is 6 years ago, and I can find it in any libraries on my system.

you could probably hook skb and mmap to look for how much allocation space the malloc really is taking. Is there any reason that you care what the header size is?

-Aaron
 
  


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
How do I run a function within a function arguement? C/C++ RHLinuxGUY Programming 12 05-19-2006 03:29 PM
what are the Hexadecimal function and ASCII function in Perl Bassam Programming 1 06-03-2004 02:44 AM
A main can be changed by a function local without passing anything to the function? ananthbv Programming 10 05-04-2004 02:31 PM
Is the wait function is the same as the sleep function ? Linh Programming 3 04-28-2004 01:39 PM
Perl exec function in linux (and system-function) nazula Programming 1 04-19-2004 01:21 PM


All times are GMT -5. The time now is 12:53 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration