SimGrid  3.9.90
Versatile Simulation of Distributed Systems
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
File Management Functions

Functions

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

Detailed Description

Function Documentation

void* simcall_file_get_data ( smx_file_t  fd)

Returns the user data associated to a file.

Parameters
fdA 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
fdA SIMIX file
dataThe user data to set