| PMCHECKPOINT(3) | PMCHECKPOINT(3) |
int pmCheckpoint(pmContext *pmc, void (*callback)(void *, int), void *arg);
pmContext * |
pmc |
pmContext object |
|
void (*)(void *, int) |
callback |
Callback function | |
void * |
arg |
Optional argument for callback function |
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).
PM_SUCCESS |
Success |
ENOSYS |
Operation not supported |