SC_FLUSH(2) | SC_FLUSH(2) |
#include <sc.h>
int sc_flush( void );
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.
sc_flush()
returns 0 if it succeeds
or returns the following error number:
EINTR