home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
SMALL_C
/
CALLOC.C
< prev
next >
Wrap
Text File
|
1987-10-04
|
384b
|
13 lines
#define NOCCARGC /* no argument count passing */
#include stdio.h
/*
** Cleared-memory allocation of n items of size bytes.
** n = Number of items to allocate space for.
** size = Size of the items in bytes.
** Returns the address of the allocated block,
** else NULL for failure.
*/
calloc(n, size) char *n, *size; {
return (Ualloc(n*size, YES));
}