Reputation: 6193
First of all: my application does not run on a "normal" operating system with virtual memory or MMU or something like that, but on an embedded system with fixed and limited amount of physical memory.
So this question focuses on plain ANSI-C: when I do calls to malloc() the amount of available memory reduces by the allocated size. Is there an ANSI-C function which can be used to retrieve the amount of remaining, free memory?
Upvotes: 0
Views: 87