Re: Dynamic memory allocation from non-C code

2000-10-22 Thread G. Adam Stanislav
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 you

Re: Dynamic memory allocation from non-C code

2000-10-22 Thread Poul-Henning Kamp
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 wi

Dynamic memory allocation from non-C code

2000-10-22 Thread G. Adam Stanislav
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.