[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
coreleft() Return a Measure of Unused Memory
#include <alloc.h>
#include <stdlib.h>
unsigned coreleft(void); In tiny, small, and medium models
or
unsigned long coreleft(void); In compact, large, and huge models
coreleft() a measure of unused memory. It returns different values
of measurement depending of the size of the memory model.
Returns: In the large data models, coreleft() returns the amount
of unused memory between the heap and the stack. In the
small data memory models, coreleft() returns the amount
of unused memory between the stack and the data segment,
minus 256 bytes.
See Also:
allocmem()
calloc()
farmalloc()
free()
malloc()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson