Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2005 15:35:55 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mmap versus malloc
Message-ID:  <4349711B.7070906@mac.com>
In-Reply-To: <20051009183822.GB92621@dogma.freebsd-uk.eu.org>
References:  <20051009183822.GB92621@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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... :-)

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4349711B.7070906>