tack/modules/src/alloc/Malloc.c
1987-08-03 11:01:19 +00:00

28 lines
563 B
C

/* $Header$ */
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* M E M O R Y A L L O C A T I O N R O U T I N E S */
/* The memory allocation routines offered in this file are:
char *Malloc(n) : allocate n bytes
This file imports routines from "system".
*/
#include <system.h>
#include "in_all.h"
#include "alloc.h"
EXPORT char *
Malloc(sz)
unsigned int sz;
{
register char *res = malloc(sz);
if (res == 0) No_Mem();
return res;
}