home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
OBJASM.ZIP
/
OUMALLOC.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-02-25
|
324b
|
18 lines
#include <stdio.h>
#include <malloc.h>
#include <stdlib.h>
#include "o.h"
char *o_malloc( size )
unsigned int size;
{
char *result;
result = (char *)calloc( 1, size );
if( result == NULL ) {
fprintf(stderr, "Out of memory\n" );
exit(4);
}
return( result );
}