> Online tutorial : coreleft
Showing posts with label coreleft. Show all posts
Showing posts with label coreleft. Show all posts

coreleft



 coreleft<ALLOC.H>

   coreleft returns a measure of unused memory


 Declaration:


   Tiny, small, and medium models:  unsigned coreleft(void);
  Compact, large, and huge models: unsigned long coreleft(void);

 Remarks:


coreleft returns a measure of RAM memory not in use.

The value coreleft gives depends on whether the memory model is of the small
data group or the large data group.

 Return Value:


   coreleft:
      Small data models: returns the amount of unused memory between the
       top of the heap and the stack.
      Large data models: returns the amount of memory between the highest
       allocated block and the end of available memory.