X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0358b2afff91122d7760953b208c84e22bf1d71c..a8175c21a299a621a7cba1803830ae2034369d9b:/src/msg/msg_io.c diff --git a/src/msg/msg_io.c b/src/msg/msg_io.c index 3703c680ff..a6d4253860 100644 --- a/src/msg/msg_io.c +++ b/src/msg/msg_io.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2013. The SimGrid Team. +/* Copyright (c) 2004-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -208,8 +208,8 @@ xbt_dict_t MSG_file_ls(const char *mount, const char *path) */ msg_error_t MSG_file_seek(msg_file_t fd, sg_size_t offset, int origin) { - THROW_UNIMPLEMENTED; - return MSG_OK; + //THROW_UNIMPLEMENTED; + return simcall_file_seek(fd->simdata->smx_file, offset, origin); } /* @@ -264,7 +264,7 @@ const char *MSG_storage_get_name(msg_storage_t storage) { /** \ingroup msg_storage_management * \brief Returns the free space size of a storage element * \param name the name of a storage - * \return the free space size of the storage element (as a sg_size_t) + * \return the free space size of the storage element (as a #sg_size_t) */ sg_size_t MSG_storage_get_free_size(const char* name){ return simcall_storage_get_free_size(name); @@ -273,7 +273,7 @@ sg_size_t MSG_storage_get_free_size(const char* name){ /** \ingroup msg_storage_management * \brief Returns the used space size of a storage element * \param name the name of a storage - * \return the used space size of the storage element (as a sg_size_t) + * \return the used space size of the storage element (as a #sg_size_t) */ sg_size_t MSG_storage_get_used_size(const char* name){ return simcall_storage_get_used_size(name);