|
SCORPIO 1.9.0
|
Open an existing file.
Open an existing file.
| [in] | iosys | The handle to the I/O system. IO system descriptor structure. |
This structure contains the general IO subsystem data and MPI structure
| [out] | file | The handle to the opened file is returned via this arg. |
File descriptor structure.
This structure holds information associated with each open file
| [in,out] | iotype | The I/O type to use to open the file. The library can modify the I/O type when retrying with other I/O types (when the user specified I/O type fails). If a different I/O type is used by the library this argument is updated accordingly. An integer parameter that controls the underlying I/O library and the I/O library-specific options (compression etc) used by the library. |
Note that since an iotype is associated with a file, two different files can potentially be associated with two different iotypes.
| [in] | fname | The name of the file to be opened |
| [in] | mode | (Optional) The file access mode. : The flags to specify the file access mode when opening a file PIO_WRITE : Using this flag an existing file is opened in "write" mode PIO_NOWRITE : Using this flag an existing file is opened in "read-only" mode |