home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_144 / 1.ddi / RTLINSRC.ZIP / _FHEAP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  1.4 KB  |  37 lines

  1. /*------------------------------------------------------------------------
  2.  * filename - _fheap.h
  3.  *
  4.  *      far heap variables and functions
  5.  *-----------------------------------------------------------------------*/
  6.  
  7. /*[]------------------------------------------------------------[]*/
  8. /*|                                                              |*/
  9. /*|     C/C++ Run Time Library - Version 4.0                     |*/
  10. /*|                                                              |*/
  11. /*|                                                              |*/
  12. /*|     Copyright (c) 1987, 1991 by Borland International        |*/
  13. /*|     All Rights Reserved.                                     |*/
  14. /*|                                                              |*/
  15. /*[]------------------------------------------------------------[]*/
  16.  
  17.         /* Far Heap Variables */
  18.  
  19. extern  char            huge    *_heapbase;
  20. extern  char            huge    *_heaptop;
  21. extern  char            huge    *_brklvl;
  22.  
  23.         /* Far Heap Functions */
  24.  
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28. void far * cdecl        farmalloc(unsigned long __nbytes);
  29. void cdecl              farfree(void far *__ap);
  30. void far *cdecl         farrealloc(void far *__ptr, unsigned long __size);
  31. unsigned long cdecl     farcoreleft(void);
  32. int  cdecl near         _brk(void huge *__addr);
  33. void huge *cdecl near   _sbrk(long __incr);
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37.