SL_MAlloc


NAME
SL_MAlloc -- allocate memory from the system.

SYNOPSIS
memory = SL_MAlloc(apphandle, size);
D0 A0 D0

void * SL_MAlloc(APPHANDLE, SLMSIZE);

FUNCTION
Allocates <size> bytes from the system and returns a pointer to it.
The memory is cleared before returning it to the application.

INPUTS
apphandle - as returned by SL_AppInitA.
size - the number of bytes to allocate.

RESULTS
memory - a pointer to the allocted memory.

SEE ALSO
SL_MFree.

 

SL_MAlloc  Command Section By Type  url:SL_MAlloc
  created:2008-03-01 23:36:24   last updated:2008-03-01 23:36:24
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_MAlloc
There are no user contributed comments for this page.