home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer 7500
/
MAX_PROGRAMMERS.iso
/
CLIPPER
/
MISC
/
ATRE12.ZIP
/
LF.ZIP
/
XMALLOC.C
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1991-07-05
|
249 b
|
19 lines
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
char *
xmalloc(n)
unsigned int n;
{
char *p;
if ((p = malloc(n)) == NULL) {
/*
fprintf(stderr, "malloc failed\n");
*/
exit(0);
}
return(p);
}