MPI 04.00 Reference >> mpiPlatform

mpiPlatformFileWrite

Declaration

int32_t mpiPlatformFileWrite(int32_t          file,
                          const  char   *buffer,
                          int32_t          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