Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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