Mixed-language input and output

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. Mixing code compiled by multiple Fortran compilers, for example xlf and g77, could face similar problems. The safest approach is to treat the code compiled by another Fortran compiler as non-Fortran code. To maintain data integrity in such cases:

Related information:
For more information on the flush_ and getfd procedures, see the Service and utility procedures section. For more information on the buffering run-time option, see Setting run-time options.