SC_CHECKPOINT(2)
SCORED SYSTEM CALLS
SC_CHECKPOINT(2)
NAME
sc_checkpoint - take a checkpoint

SYNOPSIS
#include <sc.h>

int sc_checkpoint( void );

DESCRIPTION
sc_checkpoint() takes a new checkpoint and returns when the checkpoint is done. Or, when the program is restarted from the checkpoint, the sc_chekpoint function returns also.

RETURN VALUES
sc_checkpoint() returns 0 if it succeeds or returns the following error number:

ERRORS
EIO
checkpoint fails.

SEE ALSO