X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0358b2afff91122d7760953b208c84e22bf1d71c..228ec0b9d568130e65c10f7e9d25ccb5273abaa8:/src/simix/smx_user.c diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index 1d6dc6d2c4..e15fa42fce 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -15,11 +15,11 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix); /* generate strings from the enumeration values */ static const char* simcall_names[] = { -SIMCALL_LIST(SIMCALL_STRING_TYPE, SIMCALL_SEP_COMMA) +#include "simcalls_generated_string.c" [SIMCALL_NONE] = "NONE" }; -SIMCALL_LIST(SIMCALL_FUNC, SIMCALL_SEP_NOTHING) +#include "simcalls_generated_body.c" /** * \ingroup simix_host_management @@ -1495,6 +1495,14 @@ xbt_dynar_t simcall_file_get_info(smx_file_t fd) return simcall_BODY_file_get_info(fd); } +/** + * \ingroup simix_file_management + * + */ +int simcall_file_seek(smx_file_t fd, sg_size_t offset, int origin){ + return simcall_BODY_file_seek(fd, offset, origin); +} + /** * \ingroup simix_file_management *