home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep 4.2J (Developer)
/
os42jdev.iso
/
NextDeveloper
/
Source
/
GNU
/
uucp
/
Uucp.framework
/
uucp.subproj
/
xmall.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-10-09
|
263 b
|
19 lines
/* xmalloc.c
Allocate a block of memory without fail. */
#include "uucp.h"
#include "uudefs.h"
pointer
xmalloc (c)
size_t c;
{
pointer pret;
pret = malloc (c);
if (pret == NULL && c != 0)
ulog (LOG_FATAL, "Out of memory");
return pret;
}