SimGrid  3.13
Versatile Simulation of Distributed Systems
File Management Functions

Functions

sg_size_t simcall_file_read (smx_file_t fd, sg_size_t size, sg_host_t host)
 
sg_size_t simcall_file_write (smx_file_t fd, sg_size_t size, sg_host_t host)
 
smx_file_t simcall_file_open (const char *fullpath, sg_host_t host)
 
int simcall_file_close (smx_file_t fd, sg_host_t host)
 
int simcall_file_unlink (smx_file_t fd, sg_host_t host)
 
sg_size_t simcall_file_get_size (smx_file_t fd)
 
sg_size_t simcall_file_tell (smx_file_t fd)
 
xbt_dynar_t simcall_file_get_info (smx_file_t fd)
 
int simcall_file_seek (smx_file_t fd, sg_offset_t offset, int origin)
 
int simcall_file_move (smx_file_t fd, const char *fullpath)
 Move a file to another location on the same mount point. More...
 

Detailed Description

Function Documentation

sg_size_t simcall_file_read ( smx_file_t  fd,
sg_size_t  size,
sg_host_t  host 
)
sg_size_t simcall_file_write ( smx_file_t  fd,
sg_size_t  size,
sg_host_t  host 
)
smx_file_t simcall_file_open ( const char *  fullpath,
sg_host_t  host 
)
int simcall_file_close ( smx_file_t  fd,
sg_host_t  host 
)
int simcall_file_unlink ( smx_file_t  fd,
sg_host_t  host 
)
sg_size_t simcall_file_get_size ( smx_file_t  fd)
sg_size_t simcall_file_tell ( smx_file_t  fd)
xbt_dynar_t simcall_file_get_info ( smx_file_t  fd)
int simcall_file_seek ( smx_file_t  fd,
sg_offset_t  offset,
int  origin 
)
int simcall_file_move ( smx_file_t  fd,
const char *  fullpath 
)

Move a file to another location on the same mount point.