Intel® Fortran Compiler 18.0 Developer Guide and Reference

for_rtl_finish_

Run-Time Function: Cleans up the Fortran run-time environment; for example, flushing buffers and closing files. It also issues messages about floating-point exceptions, if any occur.

This routine should be called from a C main program; it is invoked by default from a Fortran main program.

result = for_rtl_finish_ ( )

Results

The result is an I/O status value. For information on these status values, see Error Handling: Using the IOSTAT Value and Fortran Exit Codes.

To initialize the Fortran run-time environment, use function for_rtl_init_ .

Example

Consider the following C code:

int io_status;
int for_rtl_finish_ ( );
io_status = for_rtl_finish_ ( );

See Also