gm2-libs/MemUtils (The GNU Modula-2 Compiler)

#### 4.1.27 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.