home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff319.lzh
/
CNewsSrc
/
cnews.src.lzh
/
libcnews
/
nemalloc.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-07-03
|
261b
|
15 lines
#include <stdio.h>
#include <sys/types.h>
#include "libc.h"
char *
nemalloc(size) /* news emalloc - calls errunlock on error */
unsigned size;
{
register char *result = malloc(size);
if (result == NULL)
errunlock("out of memory", "");
return result;
}