site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Shantonu On Apr 19, 2005, at 10:02 AM, Alexey Proskuryakov wrote: On 19.04.2005 17:41, "Ed Mansky" <mansky@mindspring.com> 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) - WBR, Alexey Proskuryakov This email sent to ssen@opendarwin.org _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. 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. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/ssen% 40opendarwin.org This email sent to site_archiver@lists.apple.com