[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] MiNTlibs question



Does anybody know if any of the memory-allocation functions
in MiNTlibs (malloc, calloc) allocates space on the stack?
I'm currently working on the pilot-link libs and tools, most
of these needs a monster-stack (~1Mb) to work correctly.

I've moved some char-buffers from the stack to the heap, but
there are still some functions that obviously use huge amounts
of stack. All of these calloc's buffers, so I assume that calloc
is the problem here.


/*
** Jo Even Skarstein    http://www.stud.ntnu.no/~josk/
**
**    beer - maria mckee - atari falcon - babylon 5
*/