In message <[EMAIL PROTECTED]>, "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
[EMAIL PROTECTED]         | 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to