Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

Miscellaneous Runtime Library Routines

The following table lists miscellaneous runtime library routines.

Programs that use most of these routines should contain a USE IFCORE statement to obtain the proper interfaces to these routines.

Name

Procedure Type

Description

COMMITQQ

Function

Forces the operating system to execute any pending write operations for a file.

FOR_DESCRIPTOR_ASSIGN1

Subroutine

Creates an array descriptor in memory.

FOR_GET_FPE

Function

Returns the current settings of floating-point exception flags.

FOR_LFENCE

Subroutine

Inserts a memory load fence instruction that ensures completion of preceding load instructions.

FOR_MFENCE

Subroutine

Inserts a memory access fence instruction that ensures completion of preceding memory access instructions.

for_rtl_finish_2

Function

Cleans up the Fortran runtime environment.

for_rtl_init_2

Function

Initializes the Fortran runtime environment.

FOR_SET_FPE

Function

Sets the floating-point exception flags.

FOR_SET_FTN_ALLOC

Function

Tells the Fortran Runtime Library (RTL) to use a user-defined routine to dynamically allocate commons.

FOR_SET_REENTRANCY

Function

Controls the type of reentrancy protection that the Fortran Runtime Library (RTL) exhibits.

FOR_SFENCE

Subroutine

Inserts a memory store fence instruction that ensures completion of preceding store instructions.

GERROR

Subroutine

Returns a message for the last error detected by a Fortran runtime routine.

GETCHARQQ

Function

Returns the next keystroke.

GETEXCEPTIONPTRSQQ1

Function

Returns a pointer to C runtime exception information pointers appropriate for use in signal handlers established with SIGNALQQ or direct calls to the C rtl signal( ) routine.

GETSTRQQ

Function

Reads a character string from the keyboard using buffered input.

PEEKCHARQQ

Function

Checks the buffer to see if a keystroke is waiting.

PERROR

Subroutine

Sends a message to the standard error stream, preceded by a specified string, for the last detected error.

TRACEBACKQQ

Subroutine

Provides traceback information.

1 Windows

2 You do not need a USE IFCORE statement for this routine.