DragonFly BSD
DragonFly users List (threaded) for 2005-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: mmap versus malloc


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 9 Oct 2005 12:10:02 -0700 (PDT)

:
:
: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@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]