include_bytes, INCLUDE_BYTES

include_bytes (for C programs) and INCLUDE_BYTES (for FORTRAN programs) includes a range of a program's virtual memory for checkpointing.

Synopsis

For C programs:

int include_bytes(caddr_t addr, size_t size)


For FORTRAN programs:

EXTERNAL INCLUDE_BYTES

INTEGER INCLUDE_BYTES

INTEGER ARR

INTEGER ARRSIZE

ERR = INCLUDE_BYTES(ARR, ARRSIZE*INTSIZE)

Description

Include_bytes() includes a region of virtual memory in the calling process from subsequent checkpoints. This region may be excluded before via exclude_bytes call.

Return Value

Both functions return 0 upon success and a negative value upon failure.