mmap versus malloc

2005-10-09 Thread Jonathon McKitrick
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 -- What's good for the goose is good for the gander. What the hell is a gander, anyway? ___

Re: mmap versus malloc

2005-10-09 Thread Chuck Swiger
Jonathon McKitrick wrote: 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? How about sbrk()? jm -- What's good for the goose is good for the gander. What the hell is a gander, anyway? A male goose...