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

ID 767251
Date 11/07/2023
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_

Runtime Function: Cleans up the Fortran runtime 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 Use the IOSTAT Specifier and Fortran Exit Codes

To initialize the Fortran runtime 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