From owner-freebsd-hackers Sun Oct 22 12:50: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from whizkidtech.net (rh22.bfm.org [216.127.220.215]) by hub.freebsd.org (Postfix) with ESMTP id B2E6537B479 for ; Sun, 22 Oct 2000 12:49:59 -0700 (PDT) Received: (from adam@localhost) by whizkidtech.net (8.9.2/8.9.2) id OAA00257; Sun, 22 Oct 2000 14:46:03 -0500 (CDT) (envelope-from adam) Date: Sun, 22 Oct 2000 14:45:31 -0500 From: "G. Adam Stanislav" To: Poul-Henning Kamp Cc: hackers@FreeBSD.ORG Subject: Re: Dynamic memory allocation from non-C code Message-ID: <20001022144531.A240@whizkidtech.net> References: <20001022141241.A263@whizkidtech.net> <7799.972242648@critter> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <7799.972242648@critter>; from phk@critter.freebsd.dk on Sun, Oct 22, 2000 at 09:24:08PM +0200 Organization: Whiz Kid Technomagic X-URL: http://www.whizkidtech.net/ X-Castle: http://www.redprince.net/ X-Special-Effects: http://www.FilmSFX.com/ X-Operating-System: FreeBSD whizkidtech.net 3.1-RELEASE FreeBSD 3.1-RELEASE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Oct 22, 2000 at 09:24:08PM +0200, Poul-Henning Kamp wrote: >>How do I dynamically allocate/free memory from programs that do not use >>the C library (e.g., assembly language programs)? > >If you don't link with the C library, you will need to use the >sbrk(2)/brk(2) interface to extend your heap. Thanks! Adam -- "Let's eat, drink, and be merry, for tomorrow we may diet" -- Seen on a dining room wall... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message