SC_CREATE_TEMPORARY_FILE(3) | SC_CREATE_TEMPORARY_FILE(3) |
#include <sc.h>
int sc_create_temporary_file( char *filename, int *fd );
sc_create_temporary_file()
creates a temporary file in
the SCore-D directory. The life time of the created file is the same
as the one of the parallel job in which this system call is
invoked. Thus, the created file will be deleted when the parallel job
terminates.
sc_create_temporary_file()
always returns 0 if it
succeeds. Otherwise it returns the same error number as the Unix
open
(2) system call.
sc_open_temporary_file
(3),
scatter(6),
system(6),
gather(6),
scrun(1)