home *** CD-ROM | disk | FTP | other *** search
/ The Education Master 1994 (4th Edition) / EDUCATIONS_MASTER_4TH_EDITION.bin / files / progng_c / dmalloc / install.lib / SAMPLE / MODULE3.C < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-01  |  1.2 KB  |  26 lines

  1. /***************************************************************************/
  2. /*                                                                         */
  3. /*         File : MODULE3.C                                                */
  4. /*                                                                         */
  5. /*      Version : 1.0                                                      */
  6. /*         Date : 08/30/91                                                 */
  7. /*                                                                         */
  8. /*       Author : Ernest Vogelsinger                                       */
  9. /*                                                                         */
  10. /*  Description : Module 3 for DMalloc demo program                        */
  11. /*                                                                         */
  12. /*                                                                         */
  13. /*                  (c) E.Vogelsinger 1991, 1992                           */
  14. /***************************************************************************/
  15.  
  16. #include <stddef.h>
  17. #include <malloc.h>
  18.  
  19. void *alloc3(int size)
  20. {
  21.    return (realloc(NULL, size));
  22. }
  23.  
  24.  
  25.  
  26.