-/* 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
*/
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);
}
/*
/** \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);
/** \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);