Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-5FAC09AC-CE4C-4E7B-A11A-45956E89846A
Visible to Intel only — GUID: GUID-5FAC09AC-CE4C-4E7B-A11A-45956E89846A
ISATTY
Portability Function: Checks whether a logical unit number is a terminal.
Module
USE IFPORT
result = ISATTY (lunit)
iunit |
(Input) INTEGER(4). An integer expression corresponding to a Fortran logical unit number. Must be in the range 0 to 100 and must be connected. |
Results
The result type is LOGICAL(4). The result is .TRUE. if the specified logical unit is connected to a terminal device; otherwise, .FALSE..
If lunit is out of range or is not connected, zero is returned.