home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
aztecarp_376.lzh
/
AztecArp
/
Sources.LZH
/
fmalloc.c
< prev
next >
Wrap
Text File
|
1990-08-01
|
277b
|
18 lines
void *
fmalloc(size_t size,ULONG flags)
{
struct mem
{
struct DefaultTracker *tracker;
} *mp;
if(mp = ArpAllocMem(sizeof(struct mem) + size,flags | MEMF_PUBLIC))
{
mp -> tracker = LastTracker;
return((char *)((ULONG)mp + sizeof(struct mem)));
}
return(NULL);
}