# Miscellaneous Run-Time Library Routines

The following table lists miscellaneous run-time 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_ASSIGN 1 | 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 run-time environment.
for_rtl_init_2 | Function | Initializes the Fortran run-time environment.
FOR_SET_FPE | Function | Sets the floating-point exception flags.
FOR__SET_FTN_ALLOC | Function | Tells the Fortran Run-Time 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 Run-Time 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 run-time routine.
GETCHARQQ | Function | Returns the next keystroke.
GETEXCEPTIONPTRSQQ 1 | Function | Returns a pointer to C run-time 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 W*S 2 You do not need a USE IFCORE statement for this routine.

Parent topic: Language Summary Tables