Date: Sun, 22 Oct 2000 21:24:08 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: "G. Adam Stanislav" <adam@whizkidtech.net> Cc: hackers@FreeBSD.ORG Subject: Re: Dynamic memory allocation from non-C code Message-ID: <7799.972242648@critter> In-Reply-To: Your message of "Sun, 22 Oct 2000 14:12:41 CDT." <20001022141241.A263@whizkidtech.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20001022141241.A263@whizkidtech.net>, "G. Adam Stanislav" writes: >This is probably a stupid question, but I have not been able to figure it >out on my own: > >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. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7799.972242648>