Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement file open read and stat in simix.
[simgrid.git] / src / simix / smx_smurf_private.h
index 4135e30..026252c 100644 (file)
@@ -534,6 +534,13 @@ typedef struct s_smx_simcall {
       int result;
     } file_close;
 
       int result;
     } file_close;
 
+    struct {
+      int fd;
+      //Next should be struct stat* buf
+      void* buf;
+      int result;
+    } file_stat;
+
   };
 } s_smx_simcall_t, *smx_simcall_t;
 
   };
 } s_smx_simcall_t, *smx_simcall_t;