home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / SMALL_C / MALLOC.C < prev    next >
Text File  |  1987-10-04  |  384b  |  12 lines

  1. #define NOCCARGC  /* no argument count passing */
  2. #include stdio.h
  3. /*
  4. ** Memory allocation of size bytes.
  5. ** size  = Size of the block in bytes.
  6. ** Returns the address of the allocated block,
  7. ** else NULL for failure.
  8. */
  9. malloc(size) char *size; {
  10.   return (Ualloc(size, NO));
  11.   }
  12.