mmap versus malloc

Matthew Dillon dillon at
Sun Oct 9 12:10:55 PDT 2005

:If I want to write an assembly language program without using libc, is it ok
:to use mmap and a file descriptor of -1 to allocate memory?

    Yes, but it's best to do it in large chunks.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Users mailing list