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.

Seealso:



This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster