Re: Where's malloc.c
Re: Where's malloc.c
- Subject: Re: Where's malloc.c
- From: Ed Mansky <email@hidden>
- Date: Tue, 19 Apr 2005 08:55:53 -0700
Thanks for the replies, good tips. And Shantonu you're quite correct
Free BSD isn't Apple.
Question: Does the darwinxref tool allow one to find the project a
given file/header is in ?
No, you're probably not. xnu is the kernel. malloc in userspace is
implemented in the Libc project, in Libc/gen/malloc.c and
scalable_malloc.c.
I don't see how you're going to learn the BSD style of malloc-ing by
looking at Apple's implementation, which is not shared with any
other OS that I know of.
Shantonu
On Apr 19, 2005, at 10:02 AM, Alexey Proskuryakov wrote:
On 19.04.2005 17:41, "Ed Mansky" <email@hidden> wrote:
What Darwin Project is malloc.c located in ? I want to learn the
BSD-style of malloc-ing and in particular the use of vm_allocate. How
do you look up where a particular source file or header file is
located ? ( ie. what project a source file or header are in)
http://www.google.com/search?&q=malloc.c+site:darwinsource.opendarwin.org
The search gives several different results, but you are probably looking
for xnu.
- WBR, Alexey Proskuryakov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
E. J. Mansky II
Eikonal Research Institute
Bend, Oregon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden