[music-dsp] dupswapdrop?

Jon Watte hplus at mindcontrol.org
Tue Jun 11 16:24:45 EDT 2002


To be really pedantic, malloc is a standard C library call. It will 
use some underlying system call to actually allocate virtual memory 
space to allocate from out of. On UNIX, this is traditionally the 
sbrk system call. On BeOS, it's create_area. On Windows it's 
VirtualAlloc. On classic MacOS, memory typically comes out of a 
pre-allocated virtual space that can't grow so it doesn't need a 
separate system call (this is the application heap size setting in 
the Finder).

Cheers,

				/ h+

> malloc() is a system call in C that allocates memory. malloc(1) 
> allocates one byte of memory.



dupswapdrop -- the music-dsp mailing list and website: subscription info,
FAQ, source code archive, list archive, book reviews, dsp links
http://shoko.calarts.edu/musicdsp/




More information about the music-dsp mailing list