Intel® Fortran Compiler 16.0 User and Reference Guide
Portability Subroutine: Specifies a terminal device name.
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. |