The GNU Modula-2 front end to GCC

gm2-libs/MemUtils

DEFINITION MODULE MemUtils ;

FROM SYSTEM IMPORT ADDRESS ;
EXPORT QUALIFIED MemCopy, MemZero ;


(*
   MemCopy - copys a region of memory to the required destination.
*)


PROCEDURE MemCopy (from: ADDRESS; length: CARDINAL; to: ADDRESS) ;


(*
   MemZero - sets a region of memory: a..a+length to zero.
*)


PROCEDURE MemZero (a: ADDRESS; length: CARDINAL) ;


END MemUtils.