SimGrid  3.16
Versatile Simulation of Distributed Systems
File Management Functions

Detailed Description

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 *mount, const char *path, sg_storage_t st)
 
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)
 
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...
 

Function Documentation

◆ simcall_file_read()

sg_size_t simcall_file_read ( smx_file_t  fd,
sg_size_t  size,
sg_host_t  host 
)

◆ simcall_file_write()

sg_size_t simcall_file_write ( smx_file_t  fd,
sg_size_t  size,
sg_host_t  host 
)

◆ simcall_file_open()

smx_file_t simcall_file_open ( const char *  mount,
const char *  path,
sg_storage_t  st 
)

◆ simcall_file_close()

int simcall_file_close ( smx_file_t  fd,
sg_host_t  host 
)

◆ simcall_file_unlink()

int simcall_file_unlink ( smx_file_t  fd,
sg_host_t  host 
)

◆ simcall_file_get_size()

sg_size_t simcall_file_get_size ( smx_file_t  fd)

◆ simcall_file_tell()

sg_size_t simcall_file_tell ( smx_file_t  fd)

◆ simcall_file_seek()

int simcall_file_seek ( smx_file_t  fd,
sg_offset_t  offset,
int  origin 
)

◆ simcall_file_move()

int simcall_file_move ( smx_file_t  fd,
const char *  fullpath 
)

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