To improve performance, the XL Fortran run-time library has its own buffers and its own handling of these buffers. This means that mixed-language programs cannot freely mix I/O operations on the same file from the different languages. To maintain data integrity in such cases:
Note: | After you call flush_ to flush the buffer for a file, do not do anything to the file from the Fortran part of the program except to close it when the non-Fortran processing is finished. |
Related Information: | For more information on the flush_ and getfd procedures, see the "Service and Utility Procedures" chapter in the XL Fortran for AIX Language Reference. For more information on the buffering run-time option, see Setting Run-Time Options. |