home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / languages / progs / shell / h / SafeAlloc < prev    next >
Encoding:
Text File  |  1994-05-06  |  374 b   |  13 lines

  1. #ifndef __Shell_SafeAlloc_h
  2. #define __Shell_SafeAlloc_h
  3.  
  4. #include <stdlib.h>    /* for size_t    */
  5.  
  6. void *Shell_SafeRealloc( const void *ptr, size_t size);
  7. void *Shell_SafeMalloc( size_t size);
  8. void *Shell_SafeCalloc( size_t num, size_t size);
  9.     /* These call DeskLibs's Error_ReportFatal if there usn't    */
  10.     /* enough memory for the m/re-alloc, so exiting the program.    */
  11.  
  12. #endif
  13.