mmap versus malloc

Matthew Dillon dillon at apollo.backplane.com
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?
:
:jm

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

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Users mailing list