VMMCKS(3) VERSION 1.0 VMMCKS(3) NAME VMMCKS - obtain the checksum of a slice in memory USAGE chksum = vmmcks(inkey,mode) integer chksum, vmmcks ,inkey, mode DESCRIPTION VMMCKS is an integer function of the VMM (Virtual Memory Manager) package used to calculate the checksum of a memory resident slice. This function is usefull mostly as a debuging tool in order to discover if a slice has been modified between sections of code. ARGUMENTS inkey -(input) pointer to the memory resident slice for which a checksum is to be calculated. mode -(input) type of checksum to calculate: mode = 1 - add every element of the slice and return the sum. The current version of VMM only calculates checksums with mode set to 1. Note that this type of checksum cannot warranty for sure that a slice has not been modified. AUTHORS J.Caveen, M. Lepine, M. Roch - RPN NOTES Errors that will cause a premature end of program execution - No previous call to VMMALLC - Invalid value for inkey - Slice not in core - Invalid value for the mode argument Latest revision, November 1993 See also vmmallc(3), vmmatt(3), vmmcpk(3), vmmcre(3), vmmdbg(3), vmmdmp(3), vmm_example(1), vmmfgt(3), vmmget(3), vmmhpa(3), vmmhpd(3), vmmint(3), vmmintro(1), vmmlck(3), vmmlod(3), vmmlse(3), vmmpak(3), vmmpwd(3), vmmrls(3), vmmrnm(3), vmmsav(3), vmmuld(3), vmmulk(3), vmmuln(3).