MPI 04.00 Reference >> mpiPlatform

mpiPlatformFileWrite

Declaration

long mpiPlatformFileWrite(long          file,
                          const  char   *buffer,
                          long          byteCount)

 

Required Header: stdmpi.h

Description

mpiPlatformFileWrite writes data to a file whose handle was created by mpiPlatformFileOpen. mpiPlatformFileWrite is a platform independent replacement for hte C function fwrite().

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

See Also

mpiPlatformFileOpen | mpiPlatformFileRead