MPI 04.00 Reference >> mpiPlatform

mpiPlatformFileRead

Declaration

int32_t mpiPlatformFileRead(int32_t   file,
                         char   *buffer,
                         int32_t   byteCount)

 

Required Header: stdmpi.h

Description

mpiPlatformFileRead reads data from a file handle created by mpiPlatformFileOpen. mpiPlatformFileRead is a platform independent replacement for the C function fread().

file the handle of the file from which data will be read.
buffer the storage location where data from the file will be written to.
byteCount the number of bytes to read from the file.

See Also

mpiPlatformFileOpen | mpiPlatformFileWrite