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.

Syntax

result = FOR_RTL_FINISH_ ( )

Results:

The result is an I/O status value. For information on these status values, see Using the IOSTAT Value and Fortran Exit Codes in the Programmer's Guide.

To initialize the Fortran run-time environment, use FOR_RTL_INIT_ .

Example

Consider the following C code:

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