MPI 04.00 Reference >> mpiPlatform

mpiPlatformFileRead

Declaration

long mpiPlatformFileRead(long   file,
                         char   *buffer,
                         long   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