Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add MSG_file_tell function and prepare MSG_file_seek
[simgrid.git] / src / surf / workstation.cpp
index ea90f8b..ff9c71a 100644 (file)
@@ -376,6 +376,10 @@ xbt_dynar_t WorkstationCLM03::getInfo( surf_file_t fd)
   return info;
 }
 
   return info;
 }
 
+sg_size_t WorkstationCLM03::fileTell(surf_file_t fd){
+  return fd->current_position;
+}
+
 sg_size_t WorkstationCLM03::getFreeSize(const char* name)
 {
   StoragePtr st = findStorageOnMountList(name);
 sg_size_t WorkstationCLM03::getFreeSize(const char* name)
 {
   StoragePtr st = findStorageOnMountList(name);