TextFileWriteClose

Close a TextFile

Synopsis

int TextFileWriteClose(TextFile fh)

Input Parameter

fh
TextFile handle previously opened

Notes

In the case where the TextFile was opened from an existing file handle, this routine does not close the file associated with the handle. However, this routine should still be called to ensure that any other operations needed to close the TextFile are completed.

Return value

An error code. Currently, MPI_SUCCESS is returned on success and an MPI error class is returned on failure. A future implementation may return a user-defined MPI error code.