SC_FLUSH(2)
SCORED SYSTEM CALLS
SC_FLUSH(2)
NAME
sc_flush - flush standard message and error message streams

SYNOPSIS
#include <sc.h>

int sc_flush( void );

DESCRIPTION
sc_flush() waits for the output of standard and error message streams on all node. Since all the message streams from compute nodes are merged and output from the scrun process, messages from different nodes is deterministic. When the sc_flush() function returns, then all messages previously output is guaranteed to be output.

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

ERRORS
EINTR
Job is restarted from a checkpoint during the flush.

SEE ALSO

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