PMCHECKPOINT(3)
PM Programmer's Manual
PMCHECKPOINT(3)
NAME
pmCheckpoint - call before checkpointing

SYNOPSIS
int pmCheckpoint(pmContext *pmc, void (*callback)(void *, int), void *arg);

ARGUMENTS
pmContext * pmc
IN
pmContext object
void (*)(void *, int) callback
IN
Callback function
void * arg
IN
Optional argument for callback function

IMPLEMENTATION LEVEL
OPTIONAL (CHECKPOINT)

DESCRIPTION
pmCheckpoint() is called before checkpointing. When the context is ready to checkpoint, the callback function is called with arguments (arg, 0), otherwise it is delayed until the context becomes ready and, in this case, the callback function is called with arguments (arg, 1).

RETURN VALUES
PM_SUCCESS Success
ENOSYS Operation not supported


$Id: pmCheckpoint.html,v 1.1.1.1 2002/02/12 02:00:13 kameyama Exp $