home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / p / sclib2.lbr / CALLOC.CZ / CALLOC.C
Encoding:
C/C++ Source or Header  |  1993-10-25  |  384 b   |  13 lines

  1. #define NOCCARGC  /* no argument count passing */
  2. #include stdio.h
  3. /*
  4. ** Cleared-memory allocation of n items of size bytes.
  5. ** n     = Number of items to allocate space for.
  6. ** size  = Size of the items in bytes.
  7. ** Returns the address of the allocated block,
  8. ** else NULL for failure.
  9. */
  10. calloc(n, size) char *n, *size; {
  11.   return (Ualloc(n*size, YES));
  12.   }
  13.