SimGrid: File Management Functions

SimGrid 3.10 Versatile Simulation of Distributed Systems

- Home page
- Online documentation
- Dev's Corner

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
File Management Functions
SIMIX

## Functions
void * | simcall_file_get_data (smx_file_t fd)
| Returns the user data associated to a file.
void | simcall_file_set_data (smx_file_t fd, void *data)
| Sets the user data associated to a file.

## Detailed Description

## Function Documentation

void* simcall_file_get_data | ( | smx_file_t | fd | ) |

Returns the user data associated to a file.

Parameters

  fd | A simix file

Returns
  the user data of this file

void simcall_file_set_data | ( | smx_file_t | fd,
|  | void * | data
| ) |  |

Sets the user data associated to a file.

Parameters

  fd | A SIMIX file
  data | The user data to set