MPI 04.00 Reference >> mpiPlatform

mpiPlatformFileClose

Declaration

mpiPlatformFileClose(MPI_FILE file)

 

Required Header: stdmpi.h

Change History: Modified in 04.00.

Description

mpiPlatformFileClose closes the file referenced by the file handle. Wrapps the system's close() function, but returns a MPIMessage return value. mpiPlatformFileClose is a platform independent replacement for the C function fclose().

file the file handle to be closed.
Return Values
MPIMessageOK
MPIMessageFILE_CLOSE_ERROR

See Also

mpiPlatformFileOpen