home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Oakland CPM Archive
/
oakcpm.iso
/
cpm
/
asmutl
/
pmake2.lbr
/
GETMEM.C
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1986-11-17
|
256 b
|
12 lines
/* getmem -- get memory, error if not available */
char *getmem(size)
int size;
{
char *p;
if ((p = calloc(size)) == 0)
error("Insuff mem");
return p;
}