UNSAFE MODULE------------------------------------------------------------- allocator ---RTOSbrk EXPORTSRTOS ; IMPORT Unix;
PROCEDURE---------------------------------------------------------------------------GetMemory (size: INTEGER): ADDRESS = (* Return the address of "size" bytes of unused storage *) BEGIN RETURN Unix.sbrk(size); END GetMemory;
BEGIN END RTOSbrk.