Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2000 14:12:41 -0500
From:      "G. Adam Stanislav" <adam@whizkidtech.net>
To:        hackers@FreeBSD.org
Subject:   Dynamic memory allocation from non-C code
Message-ID:  <20001022141241.A263@whizkidtech.net>

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

I looked through syscalls.master but could not find anything resembling
malloc in it. Is there a system call for this? Or do I have to just create
a huge .data section and hope I made it large enough for all possible
cases?

Any help will be appreciated.

Thanks,
Adam

-- 
A billion dollars in the bank,
without the experience of carefreeness and charity,
is a state of poverty.
		-- Deepak Chopra


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?20001022141241.A263>