A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the commit on file read and write compile with all warning
[simgrid.git]
/
src
/
simix
/
smx_smurf_private.h
diff --git
a/src/simix/smx_smurf_private.h
b/src/simix/smx_smurf_private.h
index
da45db6
..
4135e30
100644
(file)
--- a/
src/simix/smx_smurf_private.h
+++ b/
src/simix/smx_smurf_private.h
@@
-522,6
+522,18
@@
typedef struct s_smx_simcall {
smx_file_t* stream;
size_t result;
} file_write;
+
+ struct {
+ const char* path;
+ const char* mode;
+ smx_file_t* result;
+ } file_open;
+
+ struct {
+ smx_file_t* fp;
+ int result;
+ } file_close;
+
};
} s_smx_simcall_t, *smx_simcall_t;