|
SCORPIO 1.9.0
|
Create a new file.
Create a new 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 created 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 create 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 created |
| [in] | mode | (Optional) The file access mode. : The flags to specify the file access mode when creating a file PIO_CLOBBER : The file, if it exists, is truncated (the old contents of the file are deleted/overwritten) PIO_NOCLOBBER : This flag is used to ensure that a file, if it exists, is not truncated (the current contents of the file are not deleted) during file creation. |