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

ID 767251
Date 3/31/2023
Public

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

Document Table of Contents

TTYNAM

Portability Subroutine: Specifies a terminal device name.

Module

USE IFPORT

CALL TTYNAM (string,lunit)

string

(Output) Character*(*). Name of the terminal device. If the Fortran logical unit is not connected to a terminal, it returns a string filled with blanks.

lunit

(Input) INTEGER(4). A Fortran logical unit number.