MPI 04.00 Reference >> mpiPlatform
MPIPlatformFileMode
Definition
typedef enum { MPIPlatformFileModeREAD = (int)(0x0), /* default */ MPIPlatformFileModeWRITE = (int)(0x1 << 0), MPIPlatformFileModeTEXT = (int)(0x0), /* default */ MPIPlatformFileModeBINARY = (int)(0x1 << 1), MPIPlatformFileModeTRUNC = (int)(0x1 << 2), MPIPlatformFileModeAPPEND = (int)(0x1 << 3) } MPIPlatformFileMode;
Description
MPIPlatformFileMode is an enumeration that is used as an argument for methods that open files.
MPIPlatformFileModeREAD | Open a file for read access |
---|---|
MPIPlatformFileModeWRITE | Open a file for write access |
MPIPlatformFileModeTEXT | Open a file as text format |
MPIPlatformFileModeBINARY | Open a file as binary format |
MPIPlatformFileModeTRUNC | Truncate existing file or create for reading and writing |
MPIPlatformFileModeAPPEND | Open existing file for appending all writes |